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'
13 install=fakeroot.install
14 depends=('glibc' 'filesystem' 'sed' 'util-linux' 'sh')
15 makedepends=('systemd' 'po4a')
16 checkdepends=('sharutils')
17 source=("https://deb.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.orig.tar.gz")
18 sha256sums=('56d405e36ff685f83879be08fdd654255ab9aa38632b4605a98e896ad63990c2')
23 ./configure --prefix=/usr \
24 --libdir=/usr/lib/libfakeroot \
31 po4a -k 0 --rm-backups --variable 'srcdir=../doc/' po4a/po4a.cfg
41 make DESTDIR="$pkgdir" install
43 install -dm0755 "$pkgdir/etc/ld.so.conf.d/"
44 echo '/usr/lib/libfakeroot' > "$pkgdir/etc/ld.so.conf.d/fakeroot.conf"
46 # install README for sysv/tcp usage
47 install -Dm0644 README "$pkgdir/usr/share/doc/$pkgname/README"