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

Jan de Groot jgc at archlinux.org
Sat Aug 2 22:11:41 UTC 2008


    Date: Saturday, August 2, 2008 @ 18:11:41
  Author: jgc
Revision: 7557

upgpkg: yelp 2.23.1-2
    Run gtk-update-icon-cache on post_install/upgrade/remove

Modified:
  yelp/trunk/PKGBUILD
  yelp/trunk/yelp.install

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-08-02 22:07:17 UTC (rev 7556)
+++ PKGBUILD	2008-08-02 22:11:41 UTC (rev 7557)
@@ -3,10 +3,10 @@
 
 pkgname=yelp
 pkgver=2.23.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A help browser for GNOME"
 arch=(i686 x86_64)
-depends=('xulrunner>=1.9' 'libgnomeui>=2.22.1' 'gnome-doc-utils>=0.12.2' 'startup-notification>=0.9' 'libxslt')
+depends=('xulrunner>=1.9' 'libgnomeui>=2.22.1' 'gnome-doc-utils>=0.12.2' 'startup-notification>=0.9' 'libxslt' 'hicolor-icon-theme')
 makedepends=('perlxml' 'pkgconfig')
 groups=('gnome')
 license=('GPL')

Modified: yelp.install
===================================================================
--- yelp.install	2008-08-02 22:07:17 UTC (rev 7556)
+++ yelp.install	2008-08-02 22:11:41 UTC (rev 7557)
@@ -2,6 +2,7 @@
 
 post_install() {
   gconfpkg --install ${pkgname}
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
 }
 
 pre_upgrade() {
@@ -15,3 +16,7 @@
 pre_remove() {
   gconfpkg --uninstall ${pkgname}
 }
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}




More information about the arch-commits mailing list