PKGBUILDs/core/fakeroot/PKGBUILD

26 lines
838 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
pkgname=fakeroot
pkgver=1.12.4
pkgrel=1
pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user"
arch=(arm)
license=('GPL')
url="http://packages.debian.org/fakeroot"
groups=('base-devel')
install=fakeroot.install
depends=('glibc' 'filesystem' 'grep' 'sed' 'sh')
options=('!libtool')
source=(http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.tar.gz)
md5sums=('aaefede2405a40c87438e7e833d69b70')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr --libdir=/usr/lib/libfakeroot \
--disable-static --with-ipc=sysv
make || return 1
make DESTDIR=${pkgdir} install || return 1
# install README for sysv/tcp usage
install -Dm644 $srcdir/$pkgname-$pkgver/README $pkgdir/usr/share/doc/$pkgname/README
}