updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / xangband / PKGBUILD
blob66f8600b9cb87b7d7af3ccf9b05ff5a7fb30d3a4
1 # Contributor: SaThaRiel <sathariel74[at]gmail[dot]com>
2 pkgname=xangband
3 pkgver=1.3.1
4 pkgrel=3
5 pkgdesc="XAngband is a Zangband variant of somewhat relaxed difficulty."
6 arch=('i686' 'x86_64')
7 url="http://xangband.sourceforge.jp/eng.html"
8 license=('custom')
9 depends=('ncurses' 'libx11')
10 source=(http://keihanna.dl.sourceforge.jp/xangband/38015/$pkgname-$pkgver.tar.gz)
11 md5sums=('13344563f106ddc3ba38cc10f1efeb34')
13 build() {
14   cd $srcdir/$pkgname-$pkgver
15   ./configure \
16     --prefix=/usr \
17     --with-libpath=/usr/lib/$pkgname/ \
18     --with-setgid=games \
19     --disable-japanese \
20     --disable-xim \
21     --disable-fontset \
22     --disable-sdl_mixer \
23     --disable-gtk || return 1
24   make || return 1
25   make DESTDIR=$pkgdir/ install
26   find $pkgdir/usr/lib/$pkgname -name delete.me -exec rm {} \;