1 # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
6 pkgdesc="hengband variant of angband"
8 url="http://hengband.sourceforge.jp"
11 source=(http://downloads.sourceforge.jp/$pkgname/10331/$pkgname-$pkgver.tar.gz)
13 md5sums=('1aa84d408011fde6cd4dc3a70ca7eefb')
16 cd "${srcdir}/$pkgname-$pkgver"
19 --with-libpath=/usr/lib/hengband/ \
25 install -d "${pkgdir}/usr/lib" || return 1
27 install -D -m755 "src/$pkgname" "${pkgdir}/usr/bin/$pkgname" || return 1
28 cp -R ./lib/ "${pkgdir}/usr/lib/$pkgname" || return 1
29 chmod -R 775 "${pkgdir}/usr/lib/$pkgname" || return 1
30 chown -R root:users "${pkgdir}/usr/lib/$pkgname" || return 1
32 #removing unneeded files
33 find "${pkgdir}" -iname delete.me -delete || return 1
34 find "${pkgdir}" -iname Makefile -delete || return 1
35 find "${pkgdir}" -iname Makefile.am -delete || return 1
36 find "${pkgdir}" -iname Makefile.in -delete || return 1