updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / kmagnet-git / PKGBUILD
blob2925864c97793a8a3d6255a1764df4156936d3c6
1 # Contributor: Álvaro Villalba Navarro <vn.alvaro@gmail.com>
3 pkgname=kmagnet-git
4 pkgver=20101115
5 pkgrel=1
6 pkgdesc="Simple puzzle game with a built-in puzzle editor."
7 url="http://www.kde-apps.org/content/show.php/kMagnet?content=109111"
8 license="GPL"
9 arch=('i686' 'x86_64')
10 depends=('kdegames-libkdegames')
11 makedepends=('git' 'cmake' 'automoc4')
12 provides=('kmagnet')
13 conflicts=('kmagnet')
14 source=()
15 md5sums=()
16 _gitroot="git://gitorious.org/kmagnet/kmagnet.git"
17 _gitname="kmagnet"
19 build() {
20   cd ${srcdir}
21   msg "Connecting to GIT server..."
22   git clone ${_gitroot}
24   msg "GIT checkout done."
25   msg "Starting make..."
27   cd ${_gitname}
28   
29   mkdir build
30   cd build
31   cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
32   make
35 package() {
36   cd ${srcdir}/${_gitname}/build
37   make DESTDIR="${pkgdir}" install