summaryrefslogtreecommitdiff
path: root/extra/kdegames
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kdegames')
-rw-r--r--extra/kdegames/PKGBUILD22
-rw-r--r--extra/kdegames/kdegames-kbattleship.install2
-rw-r--r--extra/kdegames/kdegames-kfourinline.install12
-rw-r--r--extra/kdegames/kdegames-kigo.install12
-rw-r--r--extra/kdegames/kdegames-kolf.install12
-rw-r--r--extra/kdegames/kdegames-kspaceduel.install12
-rw-r--r--extra/kdegames/kdegames-ktuberling.install12
-rw-r--r--extra/kdegames/kdegames-lskat.install12
-rw-r--r--extra/kdegames/kdegames-palapeli.install3
9 files changed, 87 insertions, 12 deletions
diff --git a/extra/kdegames/PKGBUILD b/extra/kdegames/PKGBUILD
index 98641f782..4f120b7c0 100644
--- a/extra/kdegames/PKGBUILD
+++ b/extra/kdegames/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 121100 2011-04-29 00:27:55Z andrea $
+# $Id: PKGBUILD 123676 2011-05-12 11:12:57Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
@@ -44,13 +44,13 @@ pkgname=('kdegames-bomber'
'kdegames-lskat'
'kdegames-palapeli')
pkgver=4.6.3
-pkgrel=1
-arch=('i686' 'x86_64' 'mips64el')
+pkgrel=2
+arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdebase-runtime' 'ggz-client-libs'
- 'twisted' 'kdebindings-python')
+ 'twisted' 'kdebindings-python')
source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
sha1sums=('472cb9541f389a8869a496f715d48587db568dda')
@@ -101,7 +101,7 @@ package_kdegames-granatier() {
package_kdegames-kajongg() {
pkgdesc='The ancient Chinese board game for 4 players'
- depends=('kdebase-runtime' 'kdegames-libkdegames' 'kdebindings-python' 'twisted')
+ depends=('kdegames-libkdegames' 'kdegames-libkmahjongg' 'kdebindings-python' 'twisted')
install='kdegames.install'
cd $srcdir/build/kajongg
make DESTDIR=$pkgdir install
@@ -206,7 +206,7 @@ package_kdegames-kfourinline() {
pkgdesc='Four-in-a-row Board Game'
depends=('kdebase-runtime' 'kdegames-libkdegames')
url="http://kde.org/applications/games/kfourinline/"
- install='kdegames.install'
+ install='kdegames-kfourinline.install'
cd $srcdir/build/kfourinline
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/kfourinline
@@ -228,7 +228,7 @@ package_kdegames-kigo() {
pkgdesc='Go Board Game'
depends=('kdebase-runtime' 'kdegames-libkdegames' 'gnugo')
url="http://kde.org/applications/games/kigo/"
- install='kdegames.install'
+ install='kdegames-kigo.install'
cd $srcdir/build/kigo
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/kigo
@@ -329,7 +329,7 @@ package_kdegames-kolf() {
pkgdesc='Miniature Golf'
depends=('kdebase-runtime' 'kdegames-libkdegames')
url="http://kde.org/applications/games/kolf/"
- install='kdegames.install'
+ install='kdegames-kolf.install'
cd $srcdir/build/kolf
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/kolf
@@ -409,7 +409,7 @@ package_kdegames-kspaceduel() {
pkgdesc='Space Arcade Game'
depends=('kdebase-runtime' 'kdegames-libkdegames')
url="http://kde.org/applications/games/kspaceduel/"
- install='kdegames.install'
+ install='kdegames-kspaceduel.install'
cd $srcdir/build/kspaceduel
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/kspaceduel
@@ -455,7 +455,7 @@ package_kdegames-ktuberling() {
pkgdesc='Picture Game for Children'
depends=('kdebase-runtime' 'kdegames-libkdegames')
url="http://kde.org/applications/games/ktuberling/"
- install='kdegames.install'
+ install='kdegames-ktuberling.install'
cd $srcdir/build/ktuberling
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/ktuberling
@@ -496,7 +496,7 @@ package_kdegames-lskat() {
pkgdesc='Card Game'
depends=('kdebase-runtime' 'kdegames-libkdegames')
url="http://kde.org/applications/games/lskat/"
- install='kdegames.install'
+ install='kdegames-lskat.install'
cd $srcdir/build/lskat
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/lskat
diff --git a/extra/kdegames/kdegames-kbattleship.install b/extra/kdegames/kdegames-kbattleship.install
index ae4e089cb..ac4516ed0 100644
--- a/extra/kdegames/kdegames-kbattleship.install
+++ b/extra/kdegames/kdegames-kbattleship.install
@@ -1,5 +1,6 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
ggz-config -i -f -m usr/share/ggz/kbattleship.dsc >& /dev/null
}
@@ -19,4 +20,5 @@ post_upgrade() {
post_remove() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
}
diff --git a/extra/kdegames/kdegames-kfourinline.install b/extra/kdegames/kdegames-kfourinline.install
new file mode 100644
index 000000000..9b20edb30
--- /dev/null
+++ b/extra/kdegames/kdegames-kfourinline.install
@@ -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
+}
diff --git a/extra/kdegames/kdegames-kigo.install b/extra/kdegames/kdegames-kigo.install
new file mode 100644
index 000000000..9b20edb30
--- /dev/null
+++ b/extra/kdegames/kdegames-kigo.install
@@ -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
+}
diff --git a/extra/kdegames/kdegames-kolf.install b/extra/kdegames/kdegames-kolf.install
new file mode 100644
index 000000000..9b20edb30
--- /dev/null
+++ b/extra/kdegames/kdegames-kolf.install
@@ -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
+}
diff --git a/extra/kdegames/kdegames-kspaceduel.install b/extra/kdegames/kdegames-kspaceduel.install
new file mode 100644
index 000000000..9b20edb30
--- /dev/null
+++ b/extra/kdegames/kdegames-kspaceduel.install
@@ -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
+}
diff --git a/extra/kdegames/kdegames-ktuberling.install b/extra/kdegames/kdegames-ktuberling.install
new file mode 100644
index 000000000..9b20edb30
--- /dev/null
+++ b/extra/kdegames/kdegames-ktuberling.install
@@ -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
+}
diff --git a/extra/kdegames/kdegames-lskat.install b/extra/kdegames/kdegames-lskat.install
new file mode 100644
index 000000000..9b20edb30
--- /dev/null
+++ b/extra/kdegames/kdegames-lskat.install
@@ -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
+}
diff --git a/extra/kdegames/kdegames-palapeli.install b/extra/kdegames/kdegames-palapeli.install
index ce5c32e1b..c77e68041 100644
--- a/extra/kdegames/kdegames-palapeli.install
+++ b/extra/kdegames/kdegames-palapeli.install
@@ -1,6 +1,7 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-mime-database usr/share/mime &> /dev/null
+ update-desktop-database -q
}
post_upgrade() {
@@ -9,4 +10,4 @@ post_upgrade() {
post_remove() {
post_install
-} \ No newline at end of file
+}