void-packages/srcpkgs/NetAuth-localizer/template

25 lines
646 B
Bash

# Template file for 'NetAuth-localizer'
pkgname=NetAuth-localizer
version=0.1.0
revision=1
wrksrc=localizer-$version
build_style=go
go_import_path=github.com/netauth/localizer
go_package=${go_import_path}/cmd/localize
hostmakedepends="git"
depends="snooze"
short_desc="Make NetAuth accounts local in Linux"
maintainer="Michael Aldridge <maldridge@netauth.org>"
license="MIT"
homepage="https://netauth.org/ecosystem/localizer"
distfiles="https://github.com/netauth/localizer/archive/v$version.tar.gz"
checksum=0cab66230e8845d40ecf9a6033c63730e5fc73a3a778cefe2cc98d4787cd5329
do_check() {
go test -v ./...
}
post_install() {
vlicense LICENSE
}