updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / scourge / PKGBUILD
blob4b37f408e58b182204eebb19f307a7614694a8c3
1 # Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
2 pkgname=scourge
3 pkgver=0.21.1
4 pkgrel=1
5 pkgdesc="A rogue-like game with a 3d graphical front-end"
6 arch=('i686' 'x86_64')
7 url="http://scourgeweb.org"
8 license=('GPL')
9 depends=('sdl_image' 'sdl_mixer' 'sdl_net' 'sdl_ttf' 'libgl' 'mesa')
10 source=(http://downloads.sourceforge.net/sourceforge/scourge/$pkgname-$pkgver.src.tar.gz http://downloads.sourceforge.net/sourceforge/scourge/$pkgname-$pkgver.data.tar.gz)
11 md5sums=('ceda87769cde066e3c49ec0836cf19e2' '1da547c79244698d62a973a862b13460')
13 build() {
14   cd $srcdir/scourge
15   ./configure --prefix=/usr --with-data-dir=/usr/share/scourge --enable-stencil-buffer
16   make || return 1
17   make DESTDIR=$pkgdir install
18   
19   mkdir -p $pkgdir/usr/share/
20   mv ../scourge_data $pkgdir/usr/share/scourge