[arch-commits] Commit in shutter/repos (3 files)

Felix Yan fyan at archlinux.org
Thu Aug 14 00:54:47 UTC 2014


    Date: Thursday, August 14, 2014 @ 02:54:47
  Author: fyan
Revision: 117377

archrelease: copy trunk to community-any

Added:
  shutter/repos/community-any/
  shutter/repos/community-any/PKGBUILD
    (from rev 117376, shutter/trunk/PKGBUILD)
  shutter/repos/community-any/shutter.install
    (from rev 117376, shutter/trunk/shutter.install)

-----------------+
 PKGBUILD        |   41 +++++++++++++++++++++++++++++++++++++++++
 shutter.install |   12 ++++++++++++
 2 files changed, 53 insertions(+)

Copied: shutter/repos/community-any/PKGBUILD (from rev 117376, shutter/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2014-08-14 00:54:47 UTC (rev 117377)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Shanto <shanto at hotmail.com>
+# Contributor: Athurg <athurg at gooth.cn>
+# Contributor: TDY <tdy at gmx.com>
+
+pkgname=shutter
+pkgver=0.92
+pkgrel=2
+pkgdesc="a featureful screenshot tool (formerly gscrot)"
+arch=('any')
+url="http://shutter-project.org/"
+license=('GPL3')
+install=$pkgname.install
+depends=(xdg-utils imagemagick bc procps librsvg gnome-perl desktop-file-utils
+         perl-{gnome2-wnck,gtk2-{imageview,unique},x11-protocol,image-exiftool}
+         perl-{proc-{simple,processtable},net-{dbus,dropbox-api},goo-canvas}
+         perl-{sort-naturally,json,json-xs,xml-simple,www-mechanize,locale-gettext}
+         perl-{file-{which,basedir,copy-recursive},path-class,xml-simple})
+optdepends=('nautilus-sendto: "Send To" functionality in right-click and main menu'
+            'gnome-web-photo: Support for capturing websites')
+           #'perl-gtk2-appindicator: AppIndicator support')
+source=("http://shutter-project.org/wp-content/uploads/releases/tars/$pkgname-$pkgver.tar.gz")
+md5sums=('95d849c387deceaa0767a859004103db')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # Fix tray icon under many icon themes, from Gentoo
+  sed -e "/\$tray->set_from_icon_name/s:set_from_icon_name:set_from_file:" \
+      -e "s:shutter-panel:/usr/share/icons/hicolor/scalable/apps/&.svg:" \
+      -i bin/shutter
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  install -Dm755 bin/$pkgname "$pkgdir/usr/bin/$pkgname"
+  cp -a share "$pkgdir/usr/"
+}
+

Copied: shutter/repos/community-any/shutter.install (from rev 117376, shutter/trunk/shutter.install)
===================================================================
--- community-any/shutter.install	                        (rev 0)
+++ community-any/shutter.install	2014-08-14 00:54:47 UTC (rev 117377)
@@ -0,0 +1,12 @@
+post_upgrade() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  update-desktop-database -q
+}
+
+post_install() {
+  post_upgrade
+}
+
+post_remove() {
+  post_upgrade
+}




More information about the arch-commits mailing list