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

Pierre Schmitz pierre at archlinux.org
Sun Sep 14 08:16:35 UTC 2008


    Date: Sunday, September 14, 2008 @ 04:16:35
  Author: pierre
Revision: 12372

update icon-db on install

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-09-14 08:13:53 UTC (rev 12371)
+++ PKGBUILD	2008-09-14 08:16:35 UTC (rev 12372)
@@ -13,6 +13,7 @@
 makedepends=('kdebase-workspace' 'pkgconfig' 'cmake' 'automoc4')
 optdepends=('kdebase-workspace')
 options=('docs')
+install='kdebase.install'
 source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
 md5sums=('33ab20f61aa33ed473fec710ad250ac7')
 

Added: kdebase.install
===================================================================
--- kdebase.install	                        (rev 0)
+++ kdebase.install	2008-09-14 08:16:35 UTC (rev 12372)
@@ -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