diff options
Diffstat (limited to 'system/fakeroot')
-rw-r--r-- | system/fakeroot/APKBUILD | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/system/fakeroot/APKBUILD b/system/fakeroot/APKBUILD index 219348860..18aedfd36 100644 --- a/system/fakeroot/APKBUILD +++ b/system/fakeroot/APKBUILD @@ -1,17 +1,17 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: pkgname=fakeroot pkgver=1.22 pkgrel=0 -pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user" +pkgdesc="Utility to provide a 'fake' root environment as a non-privileged user" arch="all" +options="!checkroot" license="GPL-3.0+" url="http://fakeroot.alioth.debian.org/" depends= -options="!checkroot" -checkdepends="bash" makedepends_build="libtool autoconf automake po4a" makedepends_host="libcap-dev acl-dev linux-headers" makedepends="$makedepends_build $makedepends_host" +checkdepends="bash" subpackages="$pkgname-doc" source="http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.orig.tar.bz2 busybox-getopt.patch @@ -22,13 +22,8 @@ source="http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.o xstatjunk.patch " -check() { - cd $startdir/src/$pkgname-$pkgver - /bin/bash -c 'make check' -} - build() { - cd $startdir/src/$pkgname-$pkgver + cd "$builddir" if [ "$CLIBC" = "musl" ]; then # musl does not have _STAT_VER, it's really not used for @@ -48,8 +43,13 @@ build() { po4a -k 0 --rm-backups --variable "srcdir=../doc/" po4a/po4a.cfg } +check() { + cd "$builddir" + bash -c 'make check' +} + package() { - cd "$startdir/src/$pkgname-$pkgver" + cd "$builddir" make DESTDIR="$pkgdir" install } |