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

Pierre Schmitz pierre at archlinux.org
Sun Sep 14 04:18:57 EDT 2008


    Date: Sunday, September 14, 2008 @ 04:18:56
  Author: pierre
Revision: 12374

update icon-db on install

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-09-14 08:17:36 UTC (rev 12373)
+++ PKGBUILD	2008-09-14 08:18:56 UTC (rev 12374)
@@ -12,6 +12,7 @@
 depends=('kdebase-workspace' 'boost' 'openbabel' 'indilib' 'libnova' 'libqalculate' 'gsl')
 makedepends=('pkgconfig' 'cmake' 'automoc4' 'ocaml' 'facile' 'eigen' 'cfitsio' 'gmm++')
 options=('docs')
+install='kdeedu.install'
 source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
 md5sums=('f819cf9ae9c887f5787b5546de186604')
 

Added: kdeedu.install
===================================================================
--- kdeedu.install	                        (rev 0)
+++ kdeedu.install	2008-09-14 08:18:56 UTC (rev 12374)
@@ -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