Commit 395a5933 authored by Jakub Jirutka's avatar Jakub Jirutka

testing/proot: improve abuild, reformat makedepends

parent 42fa3776
......@@ -8,7 +8,14 @@ pkgdesc="User-space implementation of chroot, mount --bind, and binfmt_misc"
url="https://proot-me.github.io"
arch="aarch64 armhf armv7 x86 x86_64"
license="GPL-2-or-later"
makedepends="bsd-compat-headers linux-headers libarchive-dev py3-docutils talloc-dev talloc-static"
makedepends="
bsd-compat-headers
libarchive-dev
linux-headers
py3-docutils
talloc-dev
talloc-static
"
subpackages="$pkgname-doc $pkgname-static"
source="https://github.com/proot-me/proot/archive/v$_pkgver/$pkgname-$_pkgver.tar.gz"
builddir="$srcdir/$pkgname-$_pkgver"
......@@ -26,11 +33,13 @@ build() {
}
package() {
install -Dm 0755 "$builddir"/src/proot "$pkgdir"/usr/bin/proot
install -Dm 0644 "$builddir"/doc/proot/man.1 "$pkgdir"/usr/share/man/man1/proot.1
install -Dm 0755 ./src/proot "$pkgdir"/usr/bin/proot
install -Dm 0644 ./doc/proot/man.1 "$pkgdir"/usr/share/man/man1/proot.1
}
static() {
pkgdesc="$pkgdesc (built as static binary)"
install -Dm 0755 "$builddir"/src-static/proot "$subpkgdir"/usr/bin/proot.static
}
......
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