[arch-commits] Commit in p7zip/trunk (PKGBUILD install)

Gaetan Bisson bisson at archlinux.org
Tue Jul 26 16:10:39 UTC 2011


    Date: Tuesday, July 26, 2011 @ 12:10:38
  Author: bisson
Revision: 133000

fix FS#25268

Modified:
  p7zip/trunk/PKGBUILD
  p7zip/trunk/install

----------+
 PKGBUILD |    5 +++--
 install  |    4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-26 16:04:39 UTC (rev 132999)
+++ PKGBUILD	2011-07-26 16:10:38 UTC (rev 133000)
@@ -7,12 +7,13 @@
 
 pkgname=p7zip
 pkgver=9.20.1
-pkgrel=3
+pkgrel=4
 pkgdesc='Command-line version of the 7zip compressed file archiver'
 url='http://p7zip.sourceforge.net/'
 license=('GPL')
 arch=('i686' 'x86_64')
-optdepends=('wxgtk: GUI')
+optdepends=('wxgtk: GUI'
+            'desktop-file-utils: desktop entries')
 makedepends=('yasm' 'nasm' 'wxgtk')
 source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}_${pkgver}_src_all.tar.bz2"
         '7zFM.desktop')

Modified: install
===================================================================
--- install	2011-07-26 16:04:39 UTC (rev 132999)
+++ install	2011-07-26 16:10:38 UTC (rev 133000)
@@ -1,6 +1,6 @@
 post_install() {
-	update-desktop-database -q
-	gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+	[[ -x usr/bin/update-desktop-database ]] && update-desktop-database -q || true
+	[[ -x usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor || true
 }
 
 post_upgrade() {




More information about the arch-commits mailing list