updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / kmagnet / PKGBUILD
blobe4450ccaa8ecc9e454d75758233cb8d3499aaa7a
1 # Contributor: Álvaro Villalba Navarro <vn.alvaro@gmail.com>
2 # Contributor: Dany Martineau <dany.luc.martineau@gmail.com>
4 pkgname=kmagnet
5 pkgver=0.10
6 pkgrel=1
7 pkgdesc="Simple puzzle game with a built-in puzzle editor."
8 url="http://www.kde-apps.org/content/show.php/kMagnet?content=109111"
9 license="GPL"
10 arch=('i686' 'x86_64')
11 depends=('kdegames-libkdegames')
12 makedepends=('cmake' 'automoc4')
13 source=(http://www.kde-apps.org/CONTENT/content-files/109111-${pkgname}-${pkgver}.tar.bz2)
14 md5sums=('ca146898c7f7a9f1c189760ee88a0beb')
16 build() {
17   cd ${srcdir}/${pkgname}-${pkgver}
18   mkdir build
19   cd build
20   cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
21   make
24 package() {
25   cd ${srcdir}/${pkgname}-${pkgver}/build
26   make DESTDIR="${pkgdir}" install