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

Pierre Schmitz pierre at archlinux.org
Sat Jan 9 16:13:10 EST 2010


    Date: Saturday, January 9, 2010 @ 16:13:09
  Author: pierre
Revision: 62533

some fixes

Added:
  kdegames/kde-unstable/palapeli.install
Modified:
  kdegames/kde-unstable/PKGBUILD

------------------+
 PKGBUILD         |    4 ++--
 palapeli.install |   12 ++++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-01-09 21:13:05 UTC (rev 62532)
+++ PKGBUILD	2010-01-09 21:13:09 UTC (rev 62533)
@@ -42,7 +42,7 @@
          'kdegames-lskat'
          'kdegames-palapeli')
 pkgver=4.3.90
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://www.kde.org'
 license=('GPL' 'LGPL' 'FDL')
@@ -446,7 +446,7 @@
 package_kdegames-palapeli() {
 	pkgdesc='Jigsaw puzzle game'
 	depends=('kdebase-runtime' 'kdegames-libkdegames')
-	install='kdegames.install'
+	install='palapeli.install'
 	cd $srcdir/build/palapeli
 	make DESTDIR=$pkgdir install
 	cd $srcdir/build/doc/palapeli

Added: palapeli.install
===================================================================
--- palapeli.install	                        (rev 0)
+++ palapeli.install	2010-01-09 21:13:09 UTC (rev 62533)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+	update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}
\ No newline at end of file



More information about the arch-commits mailing list