void-packages/srcpkgs/proot/template

34 lines
608 B
Plaintext

# Template file for 'proot'
pkgname=proot
version=2.4.1
revision=1
short_desc="User-space implementation of chroot, mount --bind, and binfmt_misc"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://proot.me"
nofetch=yes
noextract=yes
makedepends="talloc-devel"
do_fetch() {
git clone -bv${version} git://github.com/cedric-vincent/PRoot.git \
${pkgname}-${version}
}
do_build() {
cd src
make CC=$CC CFLAGS="$CFLAGS" ${makejobs}
}
do_install() {
vinstall src/proot 755 usr/bin
vinstall doc/proot.1 644 usr/share/man/man1
}
proot_package() {
pkg_install() {
vmove usr
}
}