void-packages/srcpkgs/NetAuth-ldap/template
2020-11-21 08:09:43 -08:00

21 lines
641 B
Bash

# Template file for 'NetAuth-ldap'
pkgname=NetAuth-ldap
version=0.2.0
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=581b60475e940efff673edd3a0fb5ab34fef28f4872fc51a0720013f2004c2f0
system_accounts="_netauth_ldap"
post_install() {
vsv netauth-ldap
vlicense LICENSE
}