21 lines
684 B
Bash
21 lines
684 B
Bash
# Template file for 'NetAuth-sftpgo-hook'
|
|
pkgname=NetAuth-sftpgo-hook
|
|
version=0.1.0
|
|
revision=2
|
|
wrksrc=sftpgo-hook-$version
|
|
build_style=go
|
|
go_import_path=github.com/netauth/sftpgo-hook
|
|
depends="sftpgo"
|
|
short_desc="External authorization hook for SFTPGo using NetAuth"
|
|
maintainer="Michael Aldridge <maldridge@netauth.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/netauth/sftpgo-hook"
|
|
distfiles="https://github.com/netauth/sftpgo-hook/archive/refs/tags/v$version.tar.gz"
|
|
checksum=8ec42f159d6b84fbc19cbc76f695de324384092c80d96e6a876c14da6aca110f
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vmkdir usr/libexec/sftpgo
|
|
mv $DESTDIR/usr/bin/sftpgo-hook $DESTDIR/usr/libexec/sftpgo/netauth-hook
|
|
}
|