20 lines
656 B
Bash
20 lines
656 B
Bash
# Template file for 'NetAuth-sftpgo-hook'
|
|
pkgname=NetAuth-sftpgo-hook
|
|
version=0.1.1
|
|
revision=1
|
|
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=21f12b3e6301792aeaa080263ee6c63fb33d51f404dbb9127820b786d4428512
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vmkdir usr/libexec/sftpgo
|
|
mv $DESTDIR/usr/bin/sftpgo-hook $DESTDIR/usr/libexec/sftpgo/netauth-hook
|
|
}
|