[arch-commits] Commit in phonon/kde-unstable (PKGBUILD phonon.install)

Pierre Schmitz pierre at archlinux.org
Fri Jul 10 15:22:45 UTC 2009


    Date: Friday, July 10, 2009 @ 11:22:44
  Author: pierre
Revision: 45387

add install script for hicolor icons

Added:
  phonon/kde-unstable/phonon.install
Modified:
  phonon/kde-unstable/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-07-10 15:21:33 UTC (rev 45386)
+++ PKGBUILD	2009-07-10 15:22:44 UTC (rev 45387)
@@ -8,6 +8,7 @@
 arch=('i686' 'x86_64')
 url='http://phonon.kde.org'
 license=('LGPL')
+install=phonon.install
 makedepends=('pkgconfig' 'cmake' 'automoc4' 'qt>=4.5.2-3' 'xine-lib')
 source=("http://download.kde.org/stable/4.2.1/src/${pkgbase}-${pkgver}.tar.bz2")
 md5sums=('767cb68052c108e95f293f30acdef3fb')

Added: phonon.install
===================================================================
--- phonon.install	                        (rev 0)
+++ phonon.install	2009-07-10 15:22:44 UTC (rev 45387)
@@ -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