summaryrefslogtreecommitdiffstats
path: root/main/fakeroot/APKBUILD
blob: 49f092220b5dacafc41067328d8333583898b09f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fakeroot
pkgver=1.13
pkgrel=0
pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user"
license='GPL'
url="http://packages.debian.org/fakeroot"
depends=
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.tar.gz
	busybox-compat.patch"

build() {
  cd $startdir/src/$pkgname-$pkgver
  patch -p1 < ../busybox-compat.patch
  CONFIG_SHELL=/bin/sh ./configure --prefix=/usr
  make || return 1
  make DESTDIR="$pkgdir" install
}

md5sums="e0cbeceb066cc678c9fe1d6d35d24ceb  fakeroot_1.13.tar.gz
ea7b7e3065090d72804cdf4719dd5832  busybox-compat.patch"