Commit 42fa3776 authored by Jakub Jirutka's avatar Jakub Jirutka

testing/proot: upgrade to 5.2.0_alpha

parent 9ef1d60f
# Contributor: Daniel Santana <daniel@santana.tech>
# Maintainer: Daniel Santana <daniel@santana.tech>
pkgname=proot
pkgver=5.1.0_git20190306
_sha=a6db8746f21a2e68a8d0290a0aa9b3ad36d78f56 # contain musl fixes
pkgrel=1
pkgver=5.2.0_alpha
_pkgver=${pkgver/_/-}
pkgrel=0
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 talloc-dev talloc-static"
makedepends="bsd-compat-headers linux-headers libarchive-dev py3-docutils talloc-dev talloc-static"
subpackages="$pkgname-doc $pkgname-static"
source="$pkgname-$pkgver.tar.gz::https://github.com/proot-me/proot/archive/$_sha.tar.gz"
builddir="$srcdir/$pkgname-$_sha"
source="https://github.com/proot-me/proot/archive/v$_pkgver/$pkgname-$_pkgver.tar.gz"
builddir="$srcdir/$pkgname-$_pkgver"
options="!check" # several tests are failing
prepare() {
default_prepare
cp -r src src-static
}
build() {
cd "$builddir"/src
make proot proot.static
make -C src proot GIT=false
make -C src-static proot GIT=false LDFLAGS="$LDFLAGS -static -ltalloc"
make -C doc proot/man.1
}
package() {
......@@ -25,7 +31,7 @@ package() {
}
static() {
install -Dm 0755 "$builddir"/src/proot.static "$subpkgdir"/usr/bin/proot.static
install -Dm 0755 "$builddir"/src-static/proot "$subpkgdir"/usr/bin/proot.static
}
sha512sums="dacc32062b9648219ce009c5425c7b3350e96e109df7f64396bc1a04dfc07d043fd05cd362fc30b29a064e7dd3f8a4ab592a58328b8bea3ff40c6c1cc68451a1 proot-5.1.0_git20190306.tar.gz"
sha512sums="13215070ca9decc5e0396a9e996536b7ea42746bae2197ab7cd06c516eac732d804f6378987cb68325388fea1f2a5a997cea0f70a630a31ace1c7c7526bd096c proot-5.2.0-alpha.tar.gz"
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