diff --git a/srcpkgs/proot/template b/srcpkgs/proot/template new file mode 100644 index 00000000000..5393d7a26e9 --- /dev/null +++ b/srcpkgs/proot/template @@ -0,0 +1,27 @@ +# 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 " +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 ${makejobs} +} + +do_install() { + vinstall src/proot 755 usr/bin + vinstall doc/proot.1 644 usr/share/man/man1 +}