From 5792d1032576a518d456d4aec47a4ea28a4491d3 Mon Sep 17 00:00:00 2001 From: Michael Aldridge Date: Sun, 8 Jul 2018 19:57:37 -0700 Subject: [PATCH] New package: NetAuth-nsscache-0.1 --- srcpkgs/NetAuth-nsscache/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/NetAuth-nsscache/template 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 +}