Skip to content
Snippets Groups Projects
Verified Commit 7bc94ae4 authored by Anna Wilcox's avatar Anna Wilcox :fox:
Browse files

system/fakeroot: [PD] no maintainer, fix up metadata

parent 2776eafb
No related branches found
No related tags found
No related merge requests found
# 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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment