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

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


    Date: Sunday, September 14, 2008 @ 04:28:12
  Author: pierre
Revision: 12382

update icon-db on install

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-09-14 08:27:06 UTC (rev 12381)
+++ PKGBUILD	2008-09-14 08:28:12 UTC (rev 12382)
@@ -12,6 +12,7 @@
 depends=('kdepimlibs' 'gnokii' 'libxss' 'kdebase-runtime')
 makedepends=('pkgconfig' 'cmake' 'automoc4')
 options=('docs')
+install='kdepim.install'
 source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
 md5sums=('792ddf463a7ade5b4dbade0f8b7c3085')
 

Added: kdepim.install
===================================================================
--- kdepim.install	                        (rev 0)
+++ kdepim.install	2008-09-14 08:28:12 UTC (rev 12382)
@@ -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