### this file is sourced not run
PKGVER=2015.09
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=jchroot-$PKGVER.tar.bz2
MD5SUM=aed4d9f50ec64b4d4979ddd09e8406c1
SRC_URL=http://distro.ibiblio.org/fatdog/source/700/$TARBALL
BUNDLE=

SLACKREQ=''
SLACKDESC="jchroot: jchroot $PKGVER (chroot on steroid)  
jchroot:  
jchroot: jchroot is a chroot improved with Linux namespaces isolation. This is 
jchroot: what jchroot does: 1. provide a new PID/IPC/mount/UTS namespace 2. 
jchroot: mount anything you want 3. set hostname if needed 4. chroot to your 
jchroot: target 5. drop privileges if needed 6. execute your command. After 
jchroot: your command has been executed, any process started by the execution 
jchroot: of this command will be killed, any IPC will be freed, any mount 
jchroot: point will be unmounted. All clean  
jchroot: 
jchroot: https://github.com/vincentbernat/jchroot/ 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/jchroot* &&
	make &&
	cp jchroot /usr/bin &&
	cp jchroot.8 /usr/share/man/man8 &&
	pkg_build_slackdesc
}
