diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,12 +2,12 @@ # Contributor: drakkan <nicola.murino at gmail dot com> pkgname=sftpgo-git _pkgname=sftpgo -pkgver=r850.969c992 +pkgver=r865.9dcaf15 pkgrel=1 pkgdesc='Fully featured and highly configurable SFTP server with optional FTP/S and WebDAV support. It can serve local filesystem, S3, GCS, Azure Blob, SFTP' arch=('i686' 'x86_64' 'aarch64') url="https://github.com/drakkan/${_pkgname}" -license=('GPL3') +license=('AGPLv3') depends=('glibc') makedepends=('gcc' 'git' 'go' 'gzip') optdepends=( @@ -38,7 +38,7 @@ pkgver() { build() { cd "${_pkgname}" - go build -ldflags "-s -w -X github.com/drakkan/sftpgo/version.commit=`git describe --always --dirty` -X github.com/drakkan/sftpgo/version.date=`date --utc +%FT%TZ`" -v -o sftpgo + go build -trimpath -ldflags "-s -w -X github.com/drakkan/sftpgo/version.commit=`git describe --always --dirty` -X github.com/drakkan/sftpgo/version.date=`date --utc +%FT%TZ`" -v -o sftpgo ./sftpgo gen completion bash > sftpgo-completion.bash ./sftpgo gen man -d man1 gzip man1/* |