aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJörg Schuck2017-12-12 21:52:20 +0100
committerJörg Schuck2017-12-12 21:52:20 +0100
commit49daf1212c28d5e7f4b8b4f4770371ac4e28610d (patch)
tree07a15d19d76af5a70b8b1c2511556eebc0ff974e /PKGBUILD
parentcc076643ea8bfa34c89833175ff5335c2b12e588 (diff)
downloadaur-49daf1212c28d5e7f4b8b4f4770371ac4e28610d.tar.gz
Implementing a messy workaround. Seems to get it built on different systems more reliably.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1c44a56fe5a5..6ca75012fe33 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=enchant1.6
_pkgname=enchant
pkgver=1.6.1
-pkgrel=5
+pkgrel=6
pkgdesc="A wrapper library for generic spell checking"
arch=('i686' 'x86_64')
url="https://abiword.github.io/enchant/"
@@ -30,11 +30,14 @@ pkgver() {
prepare() {
cd $_pkgname
patch -p1 < ../makefile_1.6.patch
+ # Shitty workaround, but the package only seems to build on systems
+ # if autogen actually ran twice, even if it fails once …
+ ./autogen.sh || true
}
build() {
cd $_pkgname
- ./autogen.sh
+ NOCONFIGURE=1 ./autogen.sh
./configure --prefix=/usr \
--disable-static \
--disable-ispell \