1 # Maintainer: Joao Cordeiro <jlcordeiro at gmail dot com>
6 pkgdesc="A traditional 26-level crawl to the Amulet of Yendor. Development focus was on a smooth learning curve with strategic depth and intuitive/beautiful appearance."
8 url="http://sites.google.com/site/broguegame/"
10 depends=('sdl' 'libtcod-beta' 'libpng' 'libpng12')
11 install=brogue.install
12 source=(http://sites.google.com/site/broguegame/$pkgname-linux-$pkgver.tar.gz
14 md5sums=('c23513f2e95dfe2289b1309488c52b4b'
15 '3e8e514af3045a61a58565724f702c13')
18 _dest_dir="$pkgdir/usr/share/$pkgname"
20 chown -R :games $_dest_dir
21 chmod -R g+rw $_dest_dir
23 cd "$srcdir/$pkgname-$pkgver/"
25 sed -i '/^CFLAGS=*/a CFLAGS+=-I/usr/include/libtcod' Makefile
26 sed -i 's/-ltcod/-ltcod -lSDL/g' Makefile
30 install -D -m 755 bin/brogue "$_dest_dir"
31 install -D -m 644 bin/*.png "$_dest_dir"
32 install -T -D -m 755 "$srcdir/brogue.sh" "$pkgdir/usr/bin/$pkgname"
35 # vim:set ts=2 sw=2 et: