[arch-commits] Commit in shutter/trunk (PKGBUILD shutter.install)
Felix Yan
fyan at archlinux.org
Thu Aug 14 00:54:19 UTC 2014
Date: Thursday, August 14, 2014 @ 02:54:19
Author: fyan
Revision: 117376
upgpkg: shutter 0.92-2
- fix dependency on perl-xml-simple instead of libxml-perl, fixes FS#41548
- add .install to update desktop database and icon cache
Added:
shutter/trunk/shutter.install
Modified:
shutter/trunk/PKGBUILD
-----------------+
PKGBUILD | 9 +++++----
shutter.install | 12 ++++++++++++
2 files changed, 17 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-08-13 21:28:12 UTC (rev 117375)
+++ PKGBUILD 2014-08-14 00:54:19 UTC (rev 117376)
@@ -7,16 +7,17 @@
pkgname=shutter
pkgver=0.92
-pkgrel=1
+pkgrel=2
pkgdesc="a featureful screenshot tool (formerly gscrot)"
-arch=('i686' 'x86_64')
+arch=('any')
url="http://shutter-project.org/"
license=('GPL3')
-depends=(xdg-utils libxml-perl imagemagick bc procps librsvg gnome-perl
+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})
+ 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')
Added: shutter.install
===================================================================
--- shutter.install (rev 0)
+++ shutter.install 2014-08-14 00:54:19 UTC (rev 117376)
@@ -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