updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / avanor / PKGBUILD
blobb23d36435d316b209cc52690253321a82ee31499
1 # Maintainer: Laurent Carlier <lordheavym@gmail.com>
2 # Contributor: Christoph Zeiler <rabyte*gmail>
4 pkgname=avanor
5 pkgver=0.5.8
6 pkgrel=11
7 pkgdesc="A feature rich fantasy roguelike game with an easy ADOM-like user interface"
8 arch=('i686' 'x86_64')
9 url="http://sourceforge.net/projects/avanor/"
10 license=('GPL2')
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')
18 build() {
19   cd "$srcdir"/"$pkgname-$pkgver"
21   make OPTFLAGS="${CXXFLAGS}" DATA_DIR=/usr/share/avanor/
24 package() {
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