diff options
author | Mantas Mikulėnas | 2018-04-23 20:19:43 +0300 |
---|---|---|
committer | Mantas Mikulėnas | 2018-04-23 20:19:43 +0300 |
commit | 142b5c50db44180ec3c7b767d5d09814231d7065 (patch) | |
tree | b694177e48c6316d425e296a17c3b6d24cb3ed1b /PKGBUILD | |
parent | 32fd29d7c35636db3bda975227afa0d6f3fb6884 (diff) | |
download | aur-142b5c50db44180ec3c7b767d5d09814231d7065.tar.gz |
fix build with pcre 8.42
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -7,7 +7,7 @@ pkgname=monotone pkgver=1.1 -pkgrel=6 +pkgrel=7 pkgdesc='A free distributed version control system' arch=('i686' 'x86_64') url='http://www.monotone.ca/' @@ -15,9 +15,11 @@ license=('GPL') depends=('pcre' 'lua' 'botan1.10' 'sqlite3' 'libidn' 'zlib') makedepends=('boost') source=("http://www.monotone.ca/downloads/1.1/monotone-${pkgver}.tar.bz2" - "http://http.debian.net/debian/pool/main/m/monotone/monotone_1.1-9.debian.tar.xz") + "http://http.debian.net/debian/pool/main/m/monotone/monotone_1.1-9.debian.tar.xz" + "pcre-8.42-hack.diff") sha256sums=('f95cf60a22d4e461bec9d0e72f5d3609c9a4576fb1cc45f553d0202ce2e38c88' - '70a4e8fed56f4734de2192990db5e20fe8a8b819af51780df3d78310ee9eeeda') + '70a4e8fed56f4734de2192990db5e20fe8a8b819af51780df3d78310ee9eeeda' + 'b23ad00a537314d939eceaa260b4535d85e2b052b4b00279e5f540d38f0d2e07') prepare() { cd "$srcdir/${pkgname}-${pkgver}" @@ -25,6 +27,12 @@ prepare() { msg2 "Applying $_f" patch -Np1 < ../debian/patches/$_f done + for _f in "${source[@]}"; do + if [[ $_f == *.@(diff|patch) ]]; then + msg2 "Applying $_f" + patch -Np1 < "$srcdir/$_f" + fi + done msg2 "Bootstrapping autoconf" aclocal autoreconf --install |