2 # Contributor: Allan McRae <allan@archlinux.org>
3 # Contributor: Aaron Griffin <aaron@archlinux.org>
8 pkgdesc="Gives a fake chroot environment"
10 url="https://github.com/dex4er/fakechroot/wiki"
13 source=($pkgname-$pkgver.tar.gz::https://github.com/dex4er/fakechroot/archive/${pkgver}.tar.gz)
14 md5sums=('69612efa06636e79a56898512222b0fc')
19 ./configure --prefix=/usr --sbindir=/usr/bin \
20 --libdir=/usr/lib/libfakeroot --sysconfdir=/etc
27 # t/fts.t fails when building on BTRFS... (really!)
33 make DESTDIR="${pkgdir}" install
35 install -dm755 "${pkgdir}"/etc/ld.so.conf.d/
36 echo '/usr/lib/libfakeroot/fakechroot/' > "${pkgdir}"/etc/ld.so.conf.d/fakechroot.conf