summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-25 19:07:51 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-25 19:07:51 -0500
commit7bc94ae43de9a3b16f9874a2fdff343be6a7ef72 (patch)
treee23982bdb7790efaccc25afea99af5da85429bad /system
parent2776eafbf3a598513a14926e423aadd0b86b17ba (diff)
downloadpackages-7bc94ae43de9a3b16f9874a2fdff343be6a7ef72.tar.gz
packages-7bc94ae43de9a3b16f9874a2fdff343be6a7ef72.tar.bz2
packages-7bc94ae43de9a3b16f9874a2fdff343be6a7ef72.tar.xz
packages-7bc94ae43de9a3b16f9874a2fdff343be6a7ef72.zip
system/fakeroot: [PD] no maintainer, fix up metadata
Diffstat (limited to 'system')
-rw-r--r--system/fakeroot/APKBUILD22
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
}