diff options
Diffstat (limited to 'extra/kdegames-kbounce')
-rw-r--r-- | extra/kdegames-kbounce/PKGBUILD | 31 | ||||
-rw-r--r-- | extra/kdegames-kbounce/kdegames-kbounce.install | 11 |
2 files changed, 42 insertions, 0 deletions
diff --git a/extra/kdegames-kbounce/PKGBUILD b/extra/kdegames-kbounce/PKGBUILD new file mode 100644 index 000000000..db782a5ad --- /dev/null +++ b/extra/kdegames-kbounce/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 177695 2013-02-08 08:57:03Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kdegames-kbounce +pkgver=4.10.0 +pkgrel=1 +pkgdesc="A single player arcade game with the elements of puzzle" +url="http://kde.org/applications/games/kbounce/" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdegames') +depends=('kdebase-runtime' 'libkdegames') +makedepends=('cmake' 'automoc4') +install=${pkgname}.install +source=("http://download.kde.org/stable/${pkgver}/src/kbounce-${pkgver}.tar.xz") +sha1sums=('e59c9386f3a8accf2f58b223ec45fe52e92e2871') + +build() { + mkdir build + cd build + cmake ../kbounce-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} diff --git a/extra/kdegames-kbounce/kdegames-kbounce.install b/extra/kdegames-kbounce/kdegames-kbounce.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/extra/kdegames-kbounce/kdegames-kbounce.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |