updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / retrogamelib / PKGBUILD
blob5b7fd5b1065d6fbe44ce2b0f9c32edb5db5e939d
1 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
3 pkgname=retrogamelib
4 pkgver=0.2
5 pkgrel=1
6 pkgdesc="A library for creating retro NES/GameBoy style games"
7 arch=('i686' 'x86_64')
8 url="http://$pkgname.googlecode.com/"
9 license=('LGPL')
10 depends=('python-pygame')
11 install=$pkgname.install
12 source=($url/files/$pkgname-$pkgver.zip)
13 md5sums=('dd7adb0c33e066aca4d4e1583dadbecc')
15 build() {
16   cd $pkgname
18   mkdir -p "$pkgdir"/usr/{lib/python2.6,share/$pkgname}
19   cp -rf $pkgname/ "$pkgdir"/usr/lib/python2.6/
21   cp -rf example.py data/ BubbMan/ Kontra/ "$pkgdir"/usr/share/$pkgname/
22   mkdir -p "$pkgdir"/usr/share/doc
23   cp -rf docs/ "$pkgdir"/usr/share/doc/$pkgname/
25   find "$pkgdir" -type f -exec chmod 644 {} \;
28 # vim:set ts=2 sw=2 et: