void-packages/srcpkgs/NetAuth-ldap/template

22 lines
643 B
Bash

# Template file for 'NetAuth-ldap'
pkgname=NetAuth-ldap
version=0.1.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@VoidLinux.org>"
license="MIT"
homepage="https://www.netauth.org/ecosystem/ldap"
distfiles="https://github.com/netauth/ldap/archive/v$version.tar.gz"
checksum=e179918429f133f8360bf9ee6a1ceefa283f245bf5ee0b705676fff9e1442fb4
system_accounts="_netauth_ldap"
post_install() {
vsv netauth-ldap
vlicense LICENSE
}