diff options
Diffstat (limited to 'extra/kdegames-kblackbox/PKGBUILD')
-rw-r--r-- | extra/kdegames-kblackbox/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/kdegames-kblackbox/PKGBUILD b/extra/kdegames-kblackbox/PKGBUILD new file mode 100644 index 000000000..6fff9cf9c --- /dev/null +++ b/extra/kdegames-kblackbox/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 177693 2013-02-08 08:57:00Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kdegames-kblackbox +pkgver=4.10.0 +pkgrel=1 +pkgdesc="A game of hide and seek played on a grid of boxes" +url="http://kde.org/applications/games/kblackbox/" +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/kblackbox-${pkgver}.tar.xz") +sha1sums=('5babfbd66211655da8a45155fd136451a6d782ca') + +build() { + mkdir build + cd build + cmake ../kblackbox-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} |