void-packages/srcpkgs/NetAuth-nsscache/template

25 lines
614 B
Bash

# Template file for 'NetAuth-nsscache'
pkgname=NetAuth-nsscache
version=0.2
revision=2
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 <maldridge@VoidLinux.eu>"
license="MIT"
homepage="https://netauth.org"
distfiles="https://github.com/NetAuth/nsscache/archive/v$version.tar.gz"
checksum=79606c7a328f0bbb6346cb9537753d98f0d3182a1fdefef146949f9029c6023e
pre_build() {
cd $GOSRCPATH
dep ensure
}
post_install() {
vlicense LICENSE
}