# $Id: PKGBUILD 184928 2013-05-09 09:44:05Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegames-kmines pkgver=4.10.3 pkgrel=1 pkgdesc="The classic Minesweeper game" url="http://kde.org/applications/games/kmines/" 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/kmines-${pkgver}.tar.xz") sha1sums=('9f0130c4ce1276bbc0b8d89880d5db73efdc3aef') build() { mkdir build cd build cmake ../kmines-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR="${pkgdir}" install }