# $Id: PKGBUILD 177714 2013-02-08 08:57:33Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegames-kreversi pkgver=4.10.0 pkgrel=1 pkgdesc="A simple one player strategy game played against the computer" url="http://kde.org/applications/games/kreversi/" 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/kreversi-${pkgver}.tar.xz") sha1sums=('0bb2b856a1097289a69cd01d33e4208a54c62e1f') build() { mkdir build cd build cmake ../kreversi-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR="${pkgdir}" install }