void-packages/srcpkgs/NetKeys/template

24 lines
567 B
Bash

# Template file for 'NetKeys'
pkgname=NetKeys
version=0.2
revision=1
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.eu>"
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
}