community/gitea to 1.9.5-1

This commit is contained in:
Kevin Mihelich 2019-11-01 00:15:25 +00:00
parent 4e795184c5
commit cc92e35892

View file

@ -7,8 +7,8 @@
# - don't check repo signature until author puts his keys on keyservers
pkgname=gitea
pkgver=1.9.4
pkgrel=2
pkgver=1.9.5
pkgrel=1
pkgdesc="Painless self-hosted Git service. Community managed fork of Gogs."
arch=(x86_64)
url="https://gitea.io"
@ -25,7 +25,7 @@ optdepends=(
'sqlite: SQLite support'
)
backup=('etc/gitea/app.ini')
_tag=b3f57e124894124dc9de9c568e55065d8574786c # git rev-parse v${pkgver}
_tag=4bc18582031a1376f29416a735cfb94fbb4688f5 # git rev-parse v${pkgver}
source=("git+https://github.com/go-gitea/gitea.git#tag=${_tag}"
gitea.tmpfiles
gitea.service
@ -53,7 +53,7 @@ build() {
cd ${pkgname}
export GOGC=50
make generate
EXTRA_GOFLAGS="-gcflags all=-trimpath=${PWD} -asmflags all=-trimpath=${PWD}" \
EXTRA_GOFLAGS="-trimpath" \
LDFLAGS="-linkmode external -extldflags \"${LDFLAGS}\" -X \"code.gitea.io/gitea/modules/setting.AppWorkPath=/var/lib/gitea/\""
make GOFLAGS="-v" TAGS="bindata sqlite pam" build
}