void-packages/srcpkgs/sftpgo/template

22 lines
657 B
Bash

# Template file for 'sftpgo'
pkgname=sftpgo
version=2.3.5
revision=3
build_style=go
go_import_path=github.com/drakkan/sftpgo/v2
short_desc="Fully featured and highly configurable SFTP server"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="AGPL-3.0-only"
homepage="https://github.com/drakkan/sftpgo"
distfiles="https://github.com/drakkan/sftpgo/archive/refs/tags/v$version.tar.gz"
checksum=b5844ccbea92e458c9b132fcbcaa5976baa9cf2a9d864f9efc06c143886b4b13
make_dirs="/var/lib/sftpgo 0750 root root"
post_install() {
vmkdir usr/share/sftpgo
vcopy static usr/share/sftpgo/
vcopy templates usr/share/sftpgo/
vlicense LICENSE
vsv sftpgo
}