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

Pierre Schmitz pierre at archlinux.org
Sun Sep 14 08:34:42 UTC 2008


    Date: Sunday, September 14, 2008 @ 04:34:41
  Author: pierre
Revision: 12386

update icon-db on install

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-09-14 08:33:42 UTC (rev 12385)
+++ PKGBUILD	2008-09-14 08:34:41 UTC (rev 12386)
@@ -12,6 +12,7 @@
 depends=('kdepimlibs' 'libzip' 'python' 'libarchive' 'kdebase-workspace')
 makedepends=('pkgconfig' 'cmake' 'automoc4' 'pyqt')
 options=('docs')
+install='kdeutils.install'
 source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
 md5sums=('ba8d72606f71afcb649d2b9871815359')
 

Added: kdeutils.install
===================================================================
--- kdeutils.install	                        (rev 0)
+++ kdeutils.install	2008-09-14 08:34:41 UTC (rev 12386)
@@ -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