void-packages/srcpkgs/NetKeys/template

24 lines
567 B
Bash

# Template file for 'NetKeys'
pkgname=NetKeys
version=0.1
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=d7c029e3cb9144816d4b28cda06551df74a5dee978ecad0339966a628e06121d
pre_build() {
cd $GOSRCPATH
dep ensure
}
post_install() {
vlicense LICENSE
}