# Template file for 'u9fs'
pkgname=u9fs
version=20161010
revision=1
_commit=f900662fbd61
wrksrc="plan9-from-bell-labs-u9fs-${_commit}"
short_desc="Serves the Plan 9 protocol 9P from user-space"
maintainer="Michael Gehring <mg@ebfe.org>"
license="custom"
homepage="http://plan9.bell-labs.com/magic/man2html/4/u9fs"
distfiles="https://bitbucket.org/plan9-from-bell-labs/u9fs/get/${_commit}.tar.gz"
checksum=5b98b779ab29e5dd64997ac5df7b17a9c72fe1483120de297517ba0396b2c46e

do_build() {
	make
}

do_install() {
	vbin u9fs
	vlicense LICENSE
	mv u9fs.man u9fs.8
	vman u9fs.8
}
