#Packager: George Vlahavas # # sharutils is a compile time only dependency pkgname=fakeroot pkgver=1.12.3 pkgrel=1gv arch=x86_64 source=("http://ftp.de.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.12.3.tar.gz" "http://pnboy.pinguix.com/gapan/$arch/$pkgname/known_issues") docs=("readme*" "install" "copying" "changelog" "authors" "news" "todo" "debug") url=http://packages.debian.org/sid/fakeroot slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "fakeroot (provides a faked root environment suitable for many tasks)" "Fakeroot makes it possible to run commands in an environment faking" "root privileges. This is done by setting LD_PRELOAD to libfakeroot.so," "which provides wrappers around getuid, chown, chmod, mknod, stat, and" "so on, thereby creating a fake root environment." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver cp $startdir/src/known_issues $startdir/pkg/usr/doc/$pkgname-$pkgver }