updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / nazghul-haxima / PKGBUILD
blob9a24ac485a23093d499035effafce20d8a75893b
1 # Contributor: Xavier de Labouret <arch@2-lab.net>
2 # Contributor: Eric Forgeot < http://anamnese.online.fr >
4 pkgname=nazghul-haxima
5 pkgver=0.7.0
6 pkgrel=2
7 pkgdesc="A computer role-playing game, similar to Ultima IV and V, on top of a generic engine, nazghul"
8 arch=('i686')
9 url="http://myweb.cableone.net/gmcnutt/nazghul.html"
10 license="GPL"
11 depends=('sdl' 'sdl_image' 'sdl_mixer')
12 replaces=('nazghul')
13 conflicts=('nazghul')
14 backup=()
15 source=(http://downloads.sourceforge.net/sourceforge/nazghul/nazghul-${pkgver}.tar.gz)
16 md5sums=('3a3b08ee180163030bc9934d6fb40de8')
19 build() {
20         cd $srcdir/nazghul-${pkgver}
21         ./configure --prefix=/usr --sysconfdir=/etc LIBS=-lpng
22         make || return 1
23         make DESTDIR=$startdir/pkg install
25         mkdir -p $pkgdir/usr/share/pixmaps/
26         install -D -m644 icons/haxima.png $pkgdir/usr/share/pixmaps/
27         install -D -m644 haxima.desktop $pkgdir/usr/share/applications/haxima.desktop
29         cd $pkgdir/usr/bin
30         ln -s haxima.sh haxima