summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/angband/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/libre/angband/PKGBUILD b/libre/angband/PKGBUILD
index 16d228972..1e70ef2db 100644
--- a/libre/angband/PKGBUILD
+++ b/libre/angband/PKGBUILD
@@ -11,8 +11,8 @@
pkgname=angband
_pkgname=$pkgname-libre
-pkgver=4.0.1
-pkgrel=1.parabola1
+pkgver=4.0.2
+pkgrel=2.parabola1
pkgdesc="A roguelike dungeon exploration game based on the writings of JRR Tolkien, without nonfree artwork and sound effects"
arch=('i686' 'x86_64')
url="http://rephial.org/"
@@ -35,6 +35,9 @@ mksource() {
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ # Fix detection of ncurses config script for ncurses 6.0
+ sed -i 's/ncursesw5-config/ncursesw6-config/g' acinclude.m4
+
# remove nonfree references
patch -Np1 -i ../libre.patch
}
@@ -42,6 +45,8 @@ prepare() {
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ ./autogen.sh
+
./configure \
--prefix=/usr \
--bindir=/usr/bin \
@@ -64,6 +69,6 @@ package() {
install -Dm644 copying.txt "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
-mkmd5sums=('242dca62b4c4cd1749305287b7636691')
-md5sums=('63819d6449319ee306478d3626b19075'
+mkmd5sums=('b4c96762281307e69b95114b9b3a6487')
+md5sums=('1a95723b20becdf2c784e37cba76cb8b'
'06d123697d06a8a08f5367fae3c38137')