summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLartza2020-10-25 13:04:31 +0200
committerLartza2020-10-25 13:04:31 +0200
commit0da9f9aa4ea8500580fc441b5bfb7f727e897345 (patch)
treeae214b8577b86f11142119e26f7dd804b47b4ab4
parentfe58478b8ed0ab4c7aa73e1143adda0e058961b8 (diff)
downloadaur-0da9f9aa4ea8500580fc441b5bfb7f727e897345.tar.gz
Fix build with bison 3.7
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 11 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3827c607f7bc..abd89e82f749 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,16 @@
pkgbase = unnethack
pkgdesc = Variant of NetHack. It features more randomness, more levels, more challenges and more fun than vanilla NetHack.
pkgver = 5.3.2
- pkgrel = 1
+ pkgrel = 2
url = https://unnethack.wordpress.com
arch = i686
arch = x86_64
license = custom
depends = bash
source = https://github.com/UnNetHack/UnNetHack/archive/5.3.2.tar.gz
+ source = https://github.com/UnNetHack/UnNetHack/commit/04f0a3a850a94eb8837ddcef31303968240d1c31.patch
sha256sums = a32a2c0e758eb91842033d53d43f718f3bc719a346e993d9b23bac06f0ac9004
+ sha256sums = 0b88737eba9a8028bcf8a886f36f66b3920b4d1eb03847088ed4e350d5327d7f
pkgname = unnethack
diff --git a/PKGBUILD b/PKGBUILD
index 5a1a807790df..34484398fb04 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,18 @@
-# Maintainer: Lari Tikkanen <lartza at wippies.com>
+# Maintainer: Lari Tikkanen <lartza at outlook.com>
# Contributor: Joshua Hunt <snark1994 at gmail dot com>
# Contributor: Joao Cordeiro <jlcordeiro at gmail dot com>
pkgname=unnethack
pkgver=5.3.2
-pkgrel=1
+pkgrel=2
pkgdesc="Variant of NetHack. It features more randomness, more levels, more challenges and more fun than vanilla NetHack."
arch=('i686' 'x86_64')
url="https://unnethack.wordpress.com"
license=('custom')
depends=('bash')
-source=(https://github.com/UnNetHack/UnNetHack/archive/$pkgver.tar.gz)
-sha256sums=('a32a2c0e758eb91842033d53d43f718f3bc719a346e993d9b23bac06f0ac9004')
+source=(https://github.com/UnNetHack/UnNetHack/archive/$pkgver.tar.gz
+ https://github.com/UnNetHack/UnNetHack/commit/04f0a3a850a94eb8837ddcef31303968240d1c31.patch)
+sha256sums=('a32a2c0e758eb91842033d53d43f718f3bc719a346e993d9b23bac06f0ac9004'
+ '0b88737eba9a8028bcf8a886f36f66b3920b4d1eb03847088ed4e350d5327d7f')
prepare() {
cd "$srcdir/UnNetHack-$pkgver"
@@ -19,6 +21,8 @@ prepare() {
-e "s/GAMEPERM = 04755/GAMEPERM = 02775/g" \
-e "s/VARFILEPERM = 0644/VARFILEPERM = 0664/g" \
-e "s/VARDIRPERM = 0755/VARDIRPERM = 0775/g" -i sys/autoconf/Makefile.top
+
+ patch -Np1 -i "$srcdir/04f0a3a850a94eb8837ddcef31303968240d1c31.patch"
}
build() {