updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / greed / PKGBUILD
blob537f5e279604dce788f3ff99b0a4d2c763b6ed51
1 pkgname=greed
2 pkgver=3.4
3 pkgrel=3
4 pkgdesc='The strategy game of Greed.'
5 arch=('i686' 'x86_64')
6 url='http://www.catb.org/~esr/greed/'
7 license=('GPL')
8 source=(http://www.catb.org/~esr/greed/$pkgname-$pkgver.tar.gz)
9 md5sums=('d5d254db1e093e0bfb51ad11c35e1093')
11 build() {
12     cd $pkgname-$pkgver
14     make CFLAGS="${CFLAGS}" || return 1
15     #make DESTDIR="$pkgdir" install || return 1 <--- should use this line but doesn't work the the Makefile
17     touch greed.hs
18     install -m755 -D greed $pkgdir/usr/bin/greed
19     install -m766 -D greed.hs $pkgdir/usr/games/lib/greed.hs