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

Pierre Schmitz pierre at archlinux.org
Sun Sep 14 08:23:00 UTC 2008


    Date: Sunday, September 14, 2008 @ 04:22:59
  Author: pierre
Revision: 12377

update icon-db on install

Added:
  kdegraphics/trunk/kdegraphics.install
Modified:
  kdegraphics/trunk/PKGBUILD

---------------------+
 PKGBUILD            |    1 +
 kdegraphics.install |   11 +++++++++++
 2 files changed, 12 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-09-14 08:22:29 UTC (rev 12376)
+++ PKGBUILD	2008-09-14 08:22:59 UTC (rev 12377)
@@ -13,6 +13,7 @@
 makedepends=('pkgconfig' 'cmake' 'automoc4')
 replaces=('gwenview' 'gwenview-i18n')
 options=('docs')
+install='kdegraphics.install'
 source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
 md5sums=('e5475d37dc0a12b6ce7e6dbebceb9340')
 

Added: kdegraphics.install
===================================================================
--- kdegraphics.install	                        (rev 0)
+++ kdegraphics.install	2008-09-14 08:22:59 UTC (rev 12377)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}




More information about the arch-commits mailing list