--- /var/abs/core/fakeroot/PKGBUILD 2009-02-19 03:04:23.000000000 -0200 +++ PKGBUILD 2009-02-20 11:20:18.000000000 -0200 @@ -11,14 +11,28 @@ url="http://packages.debian.org/fakeroot" groups=('base-devel') install=fakeroot.install -depends=('glibc' 'filesystem' 'grep' 'sed') +depends=('glibc' 'filesystem' 'grep' 'sed' 'bash') options=('!libtool') source=(http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.tar.gz) md5sums=('87970d6784f536cde84f9bcbaaa52720') build() { - cd $startdir/src/$pkgname-$pkgver + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --libdir=/usr/lib/libfakeroot --disable-static \ + --with-ipc=tcp --program-suffix=-tcp + make || return 1 + make DESTDIR=$pkgdir install || return 1 + + # fix the libfakeroot name + mv $pkgdir/usr/lib/libfakeroot/libfakeroot-0.so \ + $pkgdir/usr/lib/libfakeroot/libfakeroot-tcp-0.so || return 1 + ln -sf libfakeroot-tcp-0.so \ + $pkgdir/usr/lib/libfakeroot/libfakeroot-tcp.so || return 1 + + make distclean || return 1 + ./configure --prefix=/usr --libdir=/usr/lib/libfakeroot --disable-static make || return 1 - make DESTDIR=$startdir/pkg install + make DESTDIR=$pkgdir install + }