updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / barbie-seahorse-adventures / PKGBUILD
blob32c85c9a0e0eb38bd461591919ea8c5cdabef9b8
1 # Contributor: megadriver <megadriver at gmx dot com>
3 pkgname=barbie-seahorse-adventures
4 pkgver=1.0
5 pkgrel=2
6 pkgdesc="You're a seahorse - and you want to go to the moon!"
7 arch=('i686' 'x86_64')
8 url="http://www.imitationpickles.org/barbie/"
9 license=('GPL')
10 depends=('python-pygame')
11 source=("http://www.imitationpickles.org/barbie/files/barbie-$pkgver.tar.gz" "barbie.desktop")
12 md5sums=('74e90654b74c7fffd4606102bc9b8bb3' 'ce36c23657789918204aff3c354efd0a')
14 build() {
15         cd $startdir/src/barbie-$pkgver
16         mkdir -p $pkgdir/usr/{bin,share/{barbie,applications}}
17         cp -r run_game.py lib data $pkgdir/usr/share/barbie
18         rm $pkgdir/usr/share/barbie/data/*.txt
19         echo -e "#!/bin/bash\n\npython2 /usr/share/barbie/run_game.py" >> $pkgdir/usr/bin/barbie
20         chmod 755 $pkgdir/usr/bin/barbie
21         install -m755 -D $startdir/barbie.desktop $pkgdir/usr/share/applications