void-packages/srcpkgs/NetAuth-ldap/template
2021-03-26 22:29:47 -07:00

21 lines
641 B
Bash

# Template file for 'NetAuth-ldap'
pkgname=NetAuth-ldap
version=0.2.3
revision=1
wrksrc=ldap-$version
build_style=go
go_import_path=github.com/netauth/ldap
go_ldflags="-X github.com/netauth/ldap/internal/buildinfo.Version=${version}"
hostmakedepends="git"
short_desc="LDAP Proxy for NetAuth"
maintainer="Michael Aldridge <maldridge@netauth.org>"
license="MIT"
homepage="https://www.netauth.org/ecosystem/ldap"
distfiles="https://github.com/netauth/ldap/archive/v$version.tar.gz"
checksum=1d75f23197ea869207e8895cfaadde2c536f279eb26ddb8256642f5babece7e7
system_accounts="_netauth_ldap"
post_install() {
vsv netauth-ldap
vlicense LICENSE
}