# $Id: PKGBUILD 198887 2013-11-05 19:57:01Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegames-kapman pkgver=4.11.3 pkgrel=1 pkgdesc="A clone of the well known game Pac-Man" url="http://kde.org/applications/games/kapman/" 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/kapman-${pkgver}.tar.xz") sha1sums=('3f064c087d477a896e86bf4d6b67d9c644cad60f') build() { mkdir build cd build cmake ../kapman-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR="${pkgdir}" install }