1 # Maintainer: Jozef Riha <jose1711 at gmail dot com>
3 pkgname=tamagotchi_boxing
6 pkgdesc="A game where you train a virtual pet to become a boxer"
8 url="http://code.google.com/p/tamagotchi-boxing/"
10 install=tamagotchi_boxing.install
11 depends=('sge' 'sdl_ttf' 'gcc-libs')
13 source=("http://tamagotchi-boxing.googlecode.com/files/${pkgname}-${pkgver}.tar.gz" "tamagotchi_boxing.desktop")
14 md5sums=('f0dae22511c2ba74bef53cae64df78fd'
15 '1a42aaa10b608438ccf7fd0eebded929')
18 mkdir -p ${pkgdir}/usr/bin
19 install -D -m644 $srcdir/tamagotchi_boxing.desktop $pkgdir/usr/share/applications/tamagotchi_boxing.desktop
20 cd $srcdir/${pkgname}/src
21 cmake .. -DCMAKE_INSTALL_PREFIX=/usr/share/tamagotchi_boxing
26 cd $srcdir/${pkgname}/src
27 make DESTDIR=$pkgdir install
29 cd /usr/share/tamagotchi_boxing
30 ./tamagotchi_boxing \"\$@\"") > $pkgdir/usr/bin/tamagotchi_boxing
31 chmod 755 $pkgdir/usr/bin/tamagotchi_boxing