updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / godofchange / PKGBUILD
blob4d61bed2354291ba24f17a8267e9f7a0cc765ba6
1 # Maintainer: Joao Cordeiro <jlcordeiro at gmail dot com>
3 pkgname=godofchange
4 pkgver=1.0
5 pkgrel=1
6 pkgdesc="Roguelike (7DRL) where monsters change in ability over time."
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/godofchange/"
9 license=('custom')
10 depends=('libtcod')
11 source=("http://godofchange.googlecode.com/files/God%20of%20Change%20-%20Source.zip"
12         "http://godofchange.googlecode.com/files/God%20of%20Change%20-%20Linux.tar.gz"
13         godofchange.sh)
14 md5sums=('874150e44edd6a5c7ccc3ae7a67e3a51'
15          'c805dcb5cab934f47c3e17492c2b4525'
16          '94ac3479d2ede982a39ad26d42cace2f')
18 build() {
19   _dest_dir="$pkgdir/usr/share/$pkgname"
20   mkdir -p $_dest_dir
21   chown -R :games $_dest_dir
22   chmod -R g+rw $_dest_dir
24   cd "$srcdir"
26   g++ GodOfChange.cpp -o godofchange -L/usr/lib -I/usr/include/libtcod -ltcod -ltcodxx
27   
28   install -D -m 755 godofchange "$_dest_dir"
29   install -D -m 644 $srcdir/terminal.png "$_dest_dir" 
30   install -T -D -m 755 "$srcdir/godofchange.sh" "$pkgdir/usr/bin/$pkgname"
33 # vim:set ts=2 sw=2 et: