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

Andrea Scarpino andrea at archlinux.org
Sat Nov 17 09:13:34 UTC 2012


    Date: Saturday, November 17, 2012 @ 04:13:34
  Author: andrea
Revision: 171351

KDE 4.10 beta1 - fixes

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

------------------------+
 PKGBUILD               |    3 ++-
 kdegames-lskat.install |   12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-11-17 09:13:30 UTC (rev 171350)
+++ PKGBUILD	2012-11-17 09:13:34 UTC (rev 171351)
@@ -9,8 +9,9 @@
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 groups=('kde' 'kdegames')
-depends=('kdebase-runtime')
+depends=('kdebase-runtime' 'libkdegames')
 makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
 source=("http://download.kde.org/unstable/${pkgver}/src/lskat-${pkgver}.tar.xz")
 sha1sums=('7de09b0e2678f6f5a95e72049d3ba5438e3c6b2d')
 

Added: kdegames-lskat.install
===================================================================
--- kdegames-lskat.install	                        (rev 0)
+++ kdegames-lskat.install	2012-11-17 09:13:34 UTC (rev 171351)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+	update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}




More information about the arch-commits mailing list