updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / asciiportal / PKGBUILD
blob11be1680fd663daf4c3642552121671bb4892e63
1 # Maintainer: Serge Ziryukin <ftrvxmtrx@gmail.com>
2 pkgname=asciiportal
3 pkgver=1.2c
4 pkgrel=3
5 pkgdesc="Text based puzzle game inspired by the popular video game."
6 arch=('i686' 'x86_64')
7 url="http://cymonsgames.com/asciiportal/"
8 license=('MIT')
9 depends=('sdl' 'sdl_mixer' 'pdcurses')
10 makedepends=('unzip')
11 source=(http://cymonsgames.com/games/$pkgname/$pkgname$pkgver-src.zip
12         asciiportal
13         asciiportal.patch)
14 md5sums=('6b353a65ac4590bf2eabf5d06dde7473'
15          'd6e8518f4b05e5d0cdc7f9b47fd96a83'
16          'c134e319a554b4772e0e3c5b3d24f490')
18 build() {
19   cd $srcdir/
21   patch -Np0 -i "$srcdir/asciiportal.patch"
22   make -f ASCIIpOrtal-linux-Makefile.txt || return 1
24   install -d $pkgdir/opt/asciiportal
25   install -D ASCIIpOrtal $pkgdir/opt/asciiportal
26   install -D readme.txt $pkgdir/usr/share/doc/asciiportal/README
27   install -D $startdir/asciiportal $pkgdir/usr/bin/asciiportal
28   cp -r challengeme evil maps masterlevels media raisonbran648 $pkgdir/opt/asciiportal
29   chmod -x $pkgdir/opt/asciiportal/*/*