diff options
author | prspkt <prspkt@protonmail.com> | 2018-07-05 13:50:48 +0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-07-13 17:13:50 +0000 |
commit | ed7e984d31911fe3201a16581f39f14f074dc4a0 (patch) | |
tree | 95853da15b36ee506f3b12b9eaa497cd750b9b14 /main/fakeroot | |
parent | 32c87b29cbcd6503c2672abd57b05e50296b404e (diff) | |
download | aports-ed7e984d31911fe3201a16581f39f14f074dc4a0.tar.bz2 aports-ed7e984d31911fe3201a16581f39f14f074dc4a0.tar.xz |
main/fakeroot: clarify license, modernize
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 } |