void-packages/srcpkgs/NetKeys/template

23 lines
568 B
Bash

# Template file for 'NetKeys'
pkgname=NetKeys
version=0.2
revision=3
build_style=go
go_import_path="github.com/NetAuth/NetKeys"
go_package="${go_import_path}/cmd/netkeys"
hostmakedepends="dep"
short_desc="Key retrieval daemon for NetAuth"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="MIT"
homepage="https://netauth.org"
distfiles="https://github.com/NetAuth/NetKeys/archive/v$version.tar.gz"
checksum=a4bde307c31330e28bc9b212be6caec9a2ea29f5812689425eccde83b82a1d8d
pre_build() {
cd $GOSRCPATH
dep ensure
}
post_install() {
vlicense LICENSE
}