void-packages/srcpkgs/proot/template

34 lines
608 B
Text
Raw Normal View History

2013-04-04 15:09:18 +00:00
# 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
2013-05-15 07:09:16 +00:00
make CC=$CC CFLAGS="$CFLAGS" ${makejobs}
2013-04-04 15:09:18 +00:00
}
do_install() {
vinstall src/proot 755 usr/bin
vinstall doc/proot.1 644 usr/share/man/man1
}
proot_package() {
pkg_install() {
vmove usr
}
}