diff --git a/srcpkgs/NetAuth-nsscache/template b/srcpkgs/NetAuth-nsscache/template new file mode 100644 index 00000000000..25d5bc01ada --- /dev/null +++ b/srcpkgs/NetAuth-nsscache/template @@ -0,0 +1,24 @@ +# Template file for 'NetAuth-nsscache' +pkgname=NetAuth-nsscache +version=0.1 +revision=1 +wrksrc="nsscache-$version" +build_style=go +go_import_path="github.com/NetAuth/nsscache" +go_package="${go_import_path}/cmd/nsscache" +hostmakedepends="dep" +short_desc="NetAuth nsscache implementation" +maintainer="Michael Aldridge " +license="MIT" +homepage="https://netauth.org" +distfiles="https://github.com/NetAuth/nsscache/archive/v$version.tar.gz" +checksum=1c5483b453b59ba159481e37bfa7af84facfdea733ed9aa971138332f815166f + +pre_build() { + cd $GOSRCPATH + dep ensure +} + +post_install() { + vlicense LICENSE +}