Date: Tuesday, July 16, 2013 @ 23:14:44
  Author: heftig
Revision: 190796

process the hicolor theme when gtk-update-icon-cache is installed

Added:
  gtk2/trunk/gtk-update-icon-cache.install
Modified:
  gtk2/trunk/PKGBUILD

-------------------------------+
 PKGBUILD                      |    3 ++-
 gtk-update-icon-cache.install |    3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-07-16 20:44:16 UTC (rev 190795)
+++ PKGBUILD    2013-07-16 21:14:44 UTC (rev 190796)
@@ -48,7 +48,8 @@
 }
 package_gtk-update-icon-cache() {
     pkgdesc="The GTK+ update icon cache tool"
-    depends=('gdk-pixbuf2>=2.24.1-3')
+    depends=('gdk-pixbuf2>=2.24.1-3' 'hicolor-icon-theme')
+    install=gtk-update-icon-cache.install
 
     cd gtk+-$pkgver/gtk
 

Added: gtk-update-icon-cache.install
===================================================================
--- gtk-update-icon-cache.install                               (rev 0)
+++ gtk-update-icon-cache.install       2013-07-16 21:14:44 UTC (rev 190796)
@@ -0,0 +1,3 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}

Reply via email to