updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / giana / PKGBUILD
blob5167746b3f2a5f97e1beb25cfa75f6a48bd34ef1
1 # Maintainer: megadriver <megadriver at gmx dot com>
3 pkgname=giana
4 pkgver=1.001
5 pkgrel=2
6 pkgdesc="Giana's Return, unofficial sequel to the (in)famous Mario clone Giana Sisters"
7 arch=('i686' 'x86_64')
8 url="http://www.gianas-return.de"
9 license=('custom')
10 depends=('sdl_mixer' 'zlib')
11 install=${pkgname}.install
12 options=(!strip)
13 source=("http://www.gianas-return.de/gr-v1001-ubuntu.zip"
14          $pkgname.sh $pkgname.desktop)
15 md5sums=('9b6f8459ecd2483f0756e170908c780d'
16          '1106384827153bf0c6785b5eba5dc5e1'
17          '51697b747587a672e3aca119d6fd70ed')
19 build() {
20     cd $srcdir
21     
22     case ${CARCH} in
23         i686)
24             cp ${pkgname}_ubuntu32 $pkgname;;
25         x86_64)
26             cp ${pkgname}_ubuntu64 $pkgname;;
27     esac
29     install -D -m755 $pkgname $pkgdir/opt/$pkgname/$pkgname
30     cp -r data $pkgdir/opt/$pkgname
31     mkdir -p $pkgdir/usr/share/doc/giana
32     install -m644 *.txt $pkgdir/usr/share/doc/giana/
33     install -m644 $pkgname.png $pkgdir/opt/$pkgname/$pkgname.png
34     chgrp -R games $pkgdir/opt/$pkgname
35     chmod -R g+w $pkgdir/opt/$pkgname
36     install -D -m755 $pkgname.sh $pkgdir/usr/bin/$pkgname
37     install -D -m644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop