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')
15 sha512sums=('50f96d10de52eab32319746798396b972c021fb2e30679a2697214e01a974afbb4e0205dc51d5d9c7b57ac462d1a6fd14fd46ca9a92eefd20beef0d65ea76e0f')
20 ./configure --prefix=/usr --sbindir=/usr/bin \
21 --libdir=/usr/lib/libfakeroot --sysconfdir=/etc
28 # t/fts.t fails when building on BTRFS... (really!)
34 make DESTDIR="${pkgdir}" install
36 install -dm755 "${pkgdir}"/etc/ld.so.conf.d/
37 echo '/usr/lib/libfakeroot/fakechroot/' > "${pkgdir}"/etc/ld.so.conf.d/fakechroot.conf