mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
26 lines
834 B
Bash
26 lines
834 B
Bash
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
|
|
# Modified by OpenPogo
|
|
|
|
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=('grep' 'sed')
|
|
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=/opt --libdir=/opt/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/opt/share/doc/$pkgname/README
|
|
}
|