updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / kpeg / PKGBUILD
blobf9af739759207f19c118832b2d53ba2a8cf99309
1 # Maintainer: nqn1976 @ gmail.com
3 pkgname=kpeg
4 pkgver=0.2
5 pkgrel=1
6 pkgdesc="Peg solitaire game for KDE"
7 arch=('i686' 'x86_64')
8 url="http://kde-apps.org/content/show.php/KPeg?content=123679"
9 license=('GPL')
10 depends=('kdelibs')
11 makedepends=('cmake' 'automoc4')
12 source=(http://kde-apps.org/CONTENT/content-files/123679-${pkgname}.tar.gz)
13 md5sums=('64f821daf1234d7ec52cce3e1be9ec0b')
15 build() {
16   cd "${srcdir}/pege"
17   mkdir build
18   cd build
19   cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. || return 1
20   make || return 1
21   make DESTDIR="${pkgdir}" install || return 1