void-packages/srcpkgs/proot/template

25 lines
529 B
Text

# 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"
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
}