diff options
author | root <root@rshg054.dnsready.net> | 2012-10-04 01:23:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-04 01:23:34 -0700 |
commit | c3ff6b4da8966c22dcbf0f5d8a957b875242789f (patch) | |
tree | 73064dc985b6d59695639dfb6d4ae4ba99395cc5 /extra/kdegames | |
parent | 1350233b6dc1924ba29a42462447995f26dae0dc (diff) |
Thu Oct 4 01:23:34 PDT 2012
Diffstat (limited to 'extra/kdegames')
-rw-r--r-- | extra/kdegames/PKGBUILD | 32 | ||||
-rw-r--r-- | extra/kdegames/kdegames-knavalbattle.install | 12 |
2 files changed, 30 insertions, 14 deletions
diff --git a/extra/kdegames/PKGBUILD b/extra/kdegames/PKGBUILD index 00e623045..c9ca5192b 100644 --- a/extra/kdegames/PKGBUILD +++ b/extra/kdegames/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 166259 2012-09-05 18:32:27Z andrea $ +# $Id: PKGBUILD 167822 2012-10-03 14:44:33Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Pierre Schmitz <pierre@archlinux.de> @@ -9,7 +9,6 @@ pkgname=('kdegames-bomber' 'kdegames-kajongg' 'kdegames-kapman' 'kdegames-katomic' - 'kdegames-kbattleship' 'kdegames-kblackbox' 'kdegames-kblocks' 'kdegames-kbounce' @@ -25,6 +24,7 @@ pkgname=('kdegames-bomber' 'kdegames-klickety' 'kdegames-kmahjongg' 'kdegames-kmines' + 'kdegames-knavalbattle' 'kdegames-knetwalk' 'kdegames-kolf' 'kdegames-kollision' @@ -33,17 +33,17 @@ pkgname=('kdegames-bomber' 'kdegames-kreversi' 'kdegames-kshisen' 'kdegames-ksirk' + 'kdegames-ksnakeduel' 'kdegames-kspaceduel' 'kdegames-ksquares' 'kdegames-ksudoku' - 'kdegames-ktron' 'kdegames-ktuberling' 'kdegames-kubrick' 'kdegames-libkdegames' 'kdegames-libkmahjongg' 'kdegames-lskat' 'kdegames-palapeli') -pkgver=4.9.1 +pkgver=4.9.2 pkgrel=1 arch=('i686' 'x86_64') url='http://www.kde.org' @@ -52,7 +52,7 @@ groups=('kde' 'kdegames') makedepends=('cmake' 'automoc4' 'twisted' 'kdebindings-python2' 'openal') source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz") -sha1sums=('5fc77f230cff0a9b243403affc176e4e4757a1e7') +sha1sums=('a751f6b9ed6c24f8a420d6737be87f2bbb0c2cb3') build() { cd $srcdir @@ -123,12 +123,14 @@ package_kdegames-katomic() { make DESTDIR=$pkgdir install } -package_kdegames-kbattleship() { - pkgdesc='Battleship Game' +package_kdegames-knavalbattle() { + pkgdesc='Naval Battle' depends=('kdebase-runtime' 'kdegames-libkdegames') - url="http://kde.org/applications/games/kbattleship/" - install='kdegames-kbattleship.install' - cd $srcdir/build/kbattleship + url="http://kde.org/applications/games/knavalbattle/" + install='kdegames-knavalbattle.install' + replaces=('kdegames-kbattleship') + conflicts=('kdegames-kbattleship') + cd $srcdir/build/knavalbattle make DESTDIR=$pkgdir install } @@ -369,12 +371,14 @@ package_kdegames-ksudoku() { make DESTDIR=$pkgdir install } -package_kdegames-ktron() { - pkgdesc='Tron-like Game' +package_kdegames-ksnakeduel() { + pkgdesc='Snake-like Game' depends=('kdebase-runtime' 'kdegames-libkdegames') - url="http://kde.org/applications/games/ktron/" + url="http://kde.org/applications/games/ksnakeduel/" install='kdegames.install' - cd $srcdir/build/ktron + replaces=('kdegames-ktron') + conflicts=('kdegames-ktron') + cd $srcdir/build/ksnakeduel make DESTDIR=$pkgdir install } diff --git a/extra/kdegames/kdegames-knavalbattle.install b/extra/kdegames/kdegames-knavalbattle.install new file mode 100644 index 000000000..81ce5c4b0 --- /dev/null +++ b/extra/kdegames/kdegames-knavalbattle.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 +} |