diff options
Diffstat (limited to 'main/fakeroot/APKBUILD')
-rw-r--r-- | main/fakeroot/APKBUILD | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/main/fakeroot/APKBUILD b/main/fakeroot/APKBUILD index 5b5b53cc0..151d448cc 100644 --- a/main/fakeroot/APKBUILD +++ b/main/fakeroot/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=fakeroot -pkgver=1.13.1 +pkgver=1.14.3 pkgrel=0 pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user" license='GPL' @@ -10,13 +10,21 @@ subpackages="$pkgname-dev $pkgname-doc" source="http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.tar.gz busybox-compat.patch" +prepare() { + cd $startdir/src/$pkgname-$pkgver + patch -p1 < ../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 + cd $startdir/src/$pkgname-$pkgver + CONFIG_SHELL=/bin/sh ./configure --prefix=/usr + make || return 1 +} + +package() { + cd $startdir/src/$pkgname-$pkgver + make DESTDIR="$pkgdir" install } -md5sums="f96aa2b0050892d118e74af43d8ed748 fakeroot_1.13.1.tar.gz +md5sums="ca68f84e0340068eaaa38aab01f10d47 fakeroot_1.14.3.tar.gz ea7b7e3065090d72804cdf4719dd5832 busybox-compat.patch" |