# $Id: PKGBUILD 205733 2014-02-10 10:59:11Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegames-ksudoku pkgver=4.12.2 pkgrel=1 pkgdesc="A logic-based symbol placement puzzle" url="http://kde.org/applications/games/ksudoku/" arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdegames') depends=('kdebase-runtime' 'libkdegames' 'glu') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/ksudoku-${pkgver}.tar.xz") sha1sums=('6f6b8470c93c4b6aeb7783e71e0d88db3f44ceef') prepare() { mkdir build } build() { cd build cmake ../ksudoku-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR="${pkgdir}" install }