[arch-commits] Commit in kdebase-runtime/trunk (PKGBUILD kdebase-runtime.install)
Pierre Schmitz
pierre at archlinux.org
Sun Sep 14 08:17:37 UTC 2008
Date: Sunday, September 14, 2008 @ 04:17:36
Author: pierre
Revision: 12373
update icon-db on install
Added:
kdebase-runtime/trunk/kdebase-runtime.install
Modified:
kdebase-runtime/trunk/PKGBUILD
-------------------------+
PKGBUILD | 1 +
kdebase-runtime.install | 11 +++++++++++
2 files changed, 12 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-09-14 08:16:35 UTC (rev 12372)
+++ PKGBUILD 2008-09-14 08:17:36 UTC (rev 12373)
@@ -12,6 +12,7 @@
depends=('kdelibs' 'xine-lib' 'hicolor-icon-theme' 'rarian' 'smbclient')
makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdepimlibs')
options=('docs')
+install='kdebase-runtime.install'
source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
md5sums=('f03488d19c3bd95634b797229ac55127')
Added: kdebase-runtime.install
===================================================================
--- kdebase-runtime.install (rev 0)
+++ kdebase-runtime.install 2008-09-14 08:17:36 UTC (rev 12373)
@@ -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