aboutsummaryrefslogtreecommitdiffstats
path: root/testing/proot/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/proot/APKBUILD')
-rw-r--r--testing/proot/APKBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/testing/proot/APKBUILD b/testing/proot/APKBUILD
index 6798b66818..2d707646a6 100644
--- a/testing/proot/APKBUILD
+++ b/testing/proot/APKBUILD
@@ -15,8 +15,9 @@ makedepends="
py3-docutils
talloc-dev
talloc-static
+ uthash-dev
"
-subpackages="$pkgname-doc $pkgname-static"
+subpackages="care $pkgname-doc $pkgname-static"
source="https://github.com/proot-me/proot/archive/v$_pkgver/$pkgname-$_pkgver.tar.gz"
builddir="$srcdir/$pkgname-$_pkgver"
options="!check" # FIXME: several tests are failing
@@ -27,9 +28,9 @@ prepare() {
}
build() {
- make -C src proot GIT=false
+ make -C src proot care GIT=false
make -C src-static proot GIT=false LDFLAGS="$LDFLAGS -static -ltalloc"
- make -C doc proot/man.1
+ make -C doc proot/man.1 care/man.1
}
check() {
@@ -39,6 +40,13 @@ check() {
package() {
install -Dm 0755 ./src/proot "$pkgdir"/usr/bin/proot
install -Dm 0644 ./doc/proot/man.1 "$pkgdir"/usr/share/man/man1/proot.1
+ install -Dm 0644 ./doc/care/man.1 "$pkgdir"/usr/share/man/man1/care.1
+}
+
+care() {
+ pkgdesc="Comprehensive Archiver for Reproducible Execution"
+
+ install -Dm 0755 "$builddir"/src/care "$subpkgdir"/usr/bin/care
}
static() {