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

Pierre Schmitz pierre at archlinux.org
Sun Sep 14 08:13:53 UTC 2008


    Date: Sunday, September 14, 2008 @ 04:13:53
  Author: pierre
Revision: 12371

update icon-db on install

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-09-14 08:11:45 UTC (rev 12370)
+++ PKGBUILD	2008-09-14 08:13:53 UTC (rev 12371)
@@ -12,6 +12,7 @@
 depends=('kdepimlibs' 'kdebase-runtime')
 makedepends=('pkgconfig' 'cmake' 'automoc4')
 options=('docs')
+install='kdeadmin.install'
 source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
 md5sums=('e6693bcbe96bb9453e79bd3201d8f757')
 

Added: kdeadmin.install
===================================================================
--- kdeadmin.install	                        (rev 0)
+++ kdeadmin.install	2008-09-14 08:13:53 UTC (rev 12371)
@@ -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