# $Id: PKGBUILD 195680 2013-10-01 15:29:18Z svenstaro $ # Maintainer: Andrea Scarpino pkgname=kdegames-kshisen pkgver=4.11.2 pkgrel=1 pkgdesc="A solitaire-like game played using the standard set of Mahjong tiles" url="http://kde.org/applications/games/kshisen/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdegames') depends=('kdebase-runtime' 'libkdegames' 'libkmahjongg') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kshisen-${pkgver}.tar.xz") sha1sums=('59e6d8e1a76206dbeef8697b919f7890ecca80b3') build() { mkdir build cd build cmake ../kshisen-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR="${pkgdir}" install }