summaryrefslogtreecommitdiff
path: root/extra/fakechroot/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/fakechroot/PKGBUILD')
-rw-r--r--extra/fakechroot/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/extra/fakechroot/PKGBUILD b/extra/fakechroot/PKGBUILD
index 12587fced..203525ccb 100644
--- a/extra/fakechroot/PKGBUILD
+++ b/extra/fakechroot/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=fakechroot
pkgver=2.16
-pkgrel=1
+pkgrel=1.1
pkgdesc="Gives a fake chroot environment"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://github.com/fakechroot/fakechroot/wiki"
license=('LGPL')
options=('!libtool')
@@ -16,6 +16,8 @@ md5sums=('3ea5efb76664e787450e0cfcefc1b807')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ # Somehow not all files use the chroot found by configure.
+ find test -type f | xargs sed -i 's,/usr/sbin/chroot,/usr/bin/chroot,'
./configure --prefix=/usr --libdir=/usr/lib/libfakeroot --sysconfdir=/etc
make
}