25 lines
670 B
Bash
25 lines
670 B
Bash
# Template file for 'proot'
|
|
pkgname=proot
|
|
version=5.1.0
|
|
revision=6
|
|
build_wrksrc=src
|
|
build_style=gnu-makefile
|
|
make_use_env=yes
|
|
makedepends="libarchive-devel talloc-devel"
|
|
short_desc="User-space implementation of chroot, mount --bind, and binfmt_misc"
|
|
maintainer="Piraty <piraty1@inbox.ru>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://proot-me.github.io"
|
|
distfiles="https://github.com/proot-me/PRoot/archive/v${version}.tar.gz"
|
|
checksum=ce0a3baca8312613bd10f65bb436a3aaa28e1034f498a22c35ad0693600e01dd
|
|
|
|
pre_build() {
|
|
# Fix glibc ptrace.h specific constants for musl libc
|
|
cp ${FILESDIR}/ptrace_compat.h .
|
|
}
|
|
|
|
do_install() {
|
|
vbin proot
|
|
vman ../doc/proot/man.1 proot.1
|
|
}
|