# $Id: PKGBUILD 202551 2013-12-22 12:48:44Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegames-ksudoku pkgver=4.12.0 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') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/ksudoku-${pkgver}.tar.xz") sha1sums=('a0e015d8377a450c7e309395c08568d484373fae') build() { mkdir 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 }