1 # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
2 # Contributor: Allan McRae <allan@archlinux.org>
3 # Contributor: Jochem Kossen <j.kossen@home.nl>
8 pkgdesc='Tool for simulating superuser privileges'
11 url='https://tracker.debian.org/pkg/fakeroot'
12 install=fakeroot.install
13 depends=('glibc' 'filesystem' 'sed' 'util-linux' 'sh')
14 makedepends=('systemd' 'po4a')
15 checkdepends=('sharutils')
16 source=("https://deb.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.orig.tar.gz")
17 sha256sums=('63886d41e11c56c7170b9d9331cca086421b350d257338ef14daad98f77e202f')
22 ./configure --prefix=/usr \
23 --libdir=/usr/lib/libfakeroot \
30 po4a -k 0 --rm-backups --variable 'srcdir=../doc/' po4a/po4a.cfg
40 make DESTDIR="$pkgdir" install
42 install -dm0755 "$pkgdir/etc/ld.so.conf.d/"
43 echo '/usr/lib/libfakeroot' > "$pkgdir/etc/ld.so.conf.d/fakeroot.conf"
45 # install README for sysv/tcp usage
46 install -Dm0644 README "$pkgdir/usr/share/doc/$pkgname/README"