# $Id: PKGBUILD 209508 2014-03-31 10:18:41Z svenstaro $ # Maintainer: Andrea Scarpino pkgname=kdegames-ksirk pkgver=4.12.4 pkgrel=1 pkgdesc="A computerized version of a well known strategy game" url="http://kde.org/applications/games/ksirk/" 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/ksirk-${pkgver}.tar.xz") sha1sums=('a43f74414dd5b4b3fa7f8d8eab6ba2889d80ea96') build() { mkdir build cd build cmake ../ksirk-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR="${pkgdir}" install }