pam_netauth: update to 0.2

This commit is contained in:
Michael Aldridge 2019-03-30 22:11:40 -07:00
parent 540ddd773c
commit deda691254
1 changed files with 4 additions and 9 deletions

View File

@ -1,22 +1,17 @@
# Template file for 'pam_netauth'
pkgname=pam_netauth
version=0.1
revision=2
version=0.2
revision=1
build_style=go
go_import_path="github.com/NetAuth/pam_netauth"
hostmakedepends="dep"
hostmakedepends="git"
makedepends=pam-devel
short_desc="PAM plugin for NetAuth"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="MIT"
homepage="https://netauth.org"
distfiles="https://github.com/NetAuth/pam_netauth/archive/v$version.tar.gz"
checksum=2fb958aa9a9508aa1e25a2765397d9a4224af36e72d0b59ba4fe5f546f52fb0e
pre_build() {
cd $GOSRCPATH
dep ensure
}
checksum=26b01562fb751890d1584edd1d6f53002d220eb69f436346dc7f5a822d0992ee
do_build() {
go build -x -o pam_netauth.so -buildmode=c-shared -ldflags "${go_ldflags}" ${go_import_path}