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

Pierre Schmitz pierre at archlinux.org
Sun Sep 14 08:27:07 UTC 2008


    Date: Sunday, September 14, 2008 @ 04:27:06
  Author: pierre
Revision: 12381

update icon-db on install

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-09-14 08:26:40 UTC (rev 12380)
+++ PKGBUILD	2008-09-14 08:27:06 UTC (rev 12381)
@@ -12,6 +12,7 @@
 depends=('kdelibs' 'kdebase-runtime' 'xine-lib' 'tunepimp' 'cdparanoia')
 makedepends=('pkgconfig' 'cmake' 'automoc4')
 options=('docs')
+install='kdemultimedia.install'
 source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
 md5sums=('efbf12cf33aafb13848fda258d001322')
 

Added: kdemultimedia.install
===================================================================
--- kdemultimedia.install	                        (rev 0)
+++ kdemultimedia.install	2008-09-14 08:27:06 UTC (rev 12381)
@@ -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