diff options
Diffstat (limited to 'main/fakeroot')
-rw-r--r-- | main/fakeroot/APKBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/main/fakeroot/APKBUILD b/main/fakeroot/APKBUILD index ad3bf2dac7..b606d3b33a 100644 --- a/main/fakeroot/APKBUILD +++ b/main/fakeroot/APKBUILD @@ -4,8 +4,8 @@ pkgver=1.23 pkgrel=0 pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user" arch="all" -license='GPL' -url="http://fakeroot.alioth.debian.org/" +license="GPL-3.0-or-later" +url="https://packages.debian.org/fakeroot" depends= options="!checkroot" checkdepends="bash" @@ -13,21 +13,22 @@ makedepends_build="libtool autoconf automake po4a" makedepends_host="libcap-dev acl-dev linux-headers" makedepends="$makedepends_build $makedepends_host" subpackages="$pkgname-doc" -source="http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.orig.tar.xz +source="http://ftp.debian.org/debian/pool/main/f/fakeroot/${pkgname}_${pkgver}.orig.tar.xz fakeroot-hide-dlsym-errors.patch fakeroot-no64.patch fakeroot-stdint.patch fakeroot-no-ldlibrarypath.patch xstatjunk.patch " +builddir="$srcdir"/$pkgname-$pkgver check() { - cd $startdir/src/$pkgname-$pkgver - /bin/bash -c 'make check' + cd "$builddir" + 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,7 +49,7 @@ build() { } package() { - cd "$startdir/src/$pkgname-$pkgver" + cd "$builddir" make DESTDIR="$pkgdir" install } |