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

Pierre Schmitz pierre at archlinux.org
Sun Sep 14 08:26:40 UTC 2008


    Date: Sunday, September 14, 2008 @ 04:26:40
  Author: pierre
Revision: 12380

update icon-db on install

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-09-14 08:23:45 UTC (rev 12379)
+++ PKGBUILD	2008-09-14 08:26:40 UTC (rev 12380)
@@ -12,6 +12,7 @@
 depends=('kdebase-workspace' 'kdepimlibs' 'libvncserver' 'openslp' 'libidn' 'libotr' 'decibel' 'qca' 'rdesktop')
 makedepends=('pkgconfig' 'cmake' 'automoc4')
 options=('docs')
+install='kdenetwork.install'
 source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
 md5sums=('e90ef5d3feccb4a2aade798ded81af28')
 

Added: kdenetwork.install
===================================================================
--- kdenetwork.install	                        (rev 0)
+++ kdenetwork.install	2008-09-14 08:26:40 UTC (rev 12380)
@@ -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