Commit ed7e984d authored by prspkt's avatar prspkt Committed by Natanael Copa

main/fakeroot: clarify license, modernize

parent 32c87b29
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment