1 # Maintainer: Kevin Whitaker <eyecreate at gmail dot com>
\r
2 # Contributor: David Zaragoza <david@zaragoza.co.ve>
\r
7 pkgdesc="A 2D turn based strategy game. "
\r
8 arch=('i686' 'x86_64')
\r
9 url="http://sourceforge.net/projects/qogreatness/"
\r
13 makedepends=('gcc-objc')
\r
14 source=(kwestkingdom.desktop kwestkingdom.sh kwestkingdom.png http://sourceforge.net/projects/qogreatness/files/kwestkingdom-20100518.tar.gz)
\r
15 md5sums=('44ef511bdc2fe1da1e27d6387b8b3b84'
\r
16 'bbb2d1709d259c65d57b7e38390cadf2'
\r
17 '03e91bf11305dc01e355725bd34fed50'
\r
18 'c1a3242e33d3f12ddafff5560fa202ac')
\r
23 mkdir -p $pkgdir/usr/{bin,share/{pixmaps,applications,kwestkingdom/{sounds/{arrow,hammer,hurt,items,movement,sword},music,tmp}}}
\r
24 cp -r $srcdir/$pkgname/Linux/share/kwestkingdom/* $pkgdir/usr/share/kwestkingdom || return 1
\r
25 install -m755 $srcdir/$pkgname/Linux/bin/kwestkingdom $pkgdir/usr/bin/kwestkingdombin || return 1
\r
26 install -m755 $srcdir/../kwestkingdom.sh $pkgdir/usr/bin/kwestkingdom || return 1
\r
27 install -m644 $srcdir/../kwestkingdom.png $pkgdir/usr/share/pixmaps/kwestkingdom.png || return 1
\r
28 install -m644 $srcdir/../kwestkingdom.desktop $pkgdir/usr/share/applications/kwestkingdom.desktop || return 1
\r