updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pythentene / PKGBUILD
blobd2336945f38f40b6bbf4f35fe2853939aaacf1c4
1 # Maintainer: archtux <antonio.arias99999@gmail.com>
3 pkgname=pythentene
4 pkgver=0.1a
5 pkgrel=1
6 pkgdesc="Classic arcade action for a new generation, Pythentene is Super-Python-Enhanced Serpentine 2011!"
7 arch=('i686' 'x86_64')
8 url="http://www.bitblaster.com/pythentene/"
9 license=('GPL3')
10 depends=('python-pygame')
11 source=(http://bitblaster.net/pythentene/$pkgname-$pkgver.tar.gz)
12 md5sums=('383bc6c6caff2b914962dcd70dea3ac0')
14 build() {
15   cd $srcdir/$pkgname-$pkgver
17    # Install
18    mkdir -p $pkgdir/usr/share/$pkgname
19    cp -R *  $pkgdir/usr/share/$pkgname
21    # Desktop icon
22    cd ./graphics
23    install -Dm644 gameIcon.png $pkgdir/usr/share/pixmaps/pythentene.png
24    install -Dm644 $startdir/pythentene.desktop $pkgdir/usr/share/applications/pythentene.desktop
26    # Start file
27    cd $startdir
28    install -Dm755 pythentene $pkgdir/usr/bin/pythentene