NetAuth-sftpgo-hook: fix cross.
This commit is contained in:
parent
b7a8cd9f12
commit
75310aacf8
1 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'NetAuth-sftpgo-hook'
|
||||
pkgname=NetAuth-sftpgo-hook
|
||||
version=0.1.0
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc=sftpgo-hook-$version
|
||||
build_style=go
|
||||
go_import_path=github.com/netauth/sftpgo-hook
|
||||
|
@ -14,7 +14,8 @@ homepage="https://github.com/netauth/sftpgo-hook"
|
|||
distfiles="https://github.com/netauth/sftpgo-hook/archive/refs/tags/v$version.tar.gz"
|
||||
checksum=8ec42f159d6b84fbc19cbc76f695de324384092c80d96e6a876c14da6aca110f
|
||||
|
||||
do_install() {
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
vinstall $GOPATH/bin/sftpgo-hook 0750 usr/libexec/sftpgo netauth-hook
|
||||
vmkdir usr/libexec/sftpgo
|
||||
mv $DESTDIR/usr/bin/sftpgo-hook $DESTDIR/usr/libexec/sftpgo/netauth-hook
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue