1 # Maintainer: Laurent Carlier <lordheavym@gmail.com>
2 # Contributor: Christoph Zeiler <rabyte*gmail>
7 pkgdesc="A feature rich fantasy roguelike game with an easy ADOM-like user interface"
9 url="http://sourceforge.net/projects/avanor/"
11 depends=('gcc-libs' 'ncurses')
12 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.bz2
13 'avanor.desktop' 'avanor.png')
14 md5sums=('20067962b9635b1789933ddd7933d142'
15 '42fe5ffe7cef9704f3d87c544bf2b744'
16 '2a5466179019b93d48a63a848bd585bd')
19 cd "$srcdir"/"$pkgname-$pkgver"
21 make OPTFLAGS="${CXXFLAGS}" DATA_DIR=/usr/share/avanor/
25 cd "$srcdir"/"$pkgname-$pkgver"
27 mkdir -p ${pkgdir}/usr/{bin,share/avanor}
28 install -m755 avanor ${pkgdir}/usr/bin/
29 cp -rf manual/ ${pkgdir}/usr/share/avanor/
31 install -D -m644 ${srcdir}/avanor.desktop \
32 ${pkgdir}/usr/share/applications/avanor.desktop
33 install -D -m644 ${srcdir}/avanor.png \
34 ${pkgdir}/usr/share/pixmaps/avanor.png