mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/gitea to 1.11.6-1
This commit is contained in:
parent
78990beb36
commit
eb4f2d4489
1 changed files with 7 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
|||
# - don't check repo signature until author puts his keys on keyservers
|
||||
|
||||
pkgname=gitea
|
||||
pkgver=1.11.5
|
||||
pkgver=1.11.6
|
||||
pkgrel=1
|
||||
pkgdesc="Painless self-hosted Git service. Community managed fork of Gogs."
|
||||
arch=(x86_64)
|
||||
|
@ -25,7 +25,7 @@ optdepends=(
|
|||
'sqlite: SQLite support'
|
||||
)
|
||||
backup=('etc/gitea/app.ini')
|
||||
_tag=0cb4aa8ee2abadc688902efbc5e2e512a402b2c5 # git rev-parse v${pkgver}
|
||||
_tag=e04839f012b2995cd2d0ba45d018c2266af9400b # git rev-parse v${pkgver}
|
||||
source=("git+https://github.com/go-gitea/gitea.git#tag=${_tag}"
|
||||
gitea.tmpfiles
|
||||
gitea.service
|
||||
|
@ -62,8 +62,12 @@ build() {
|
|||
cd ${pkgname}
|
||||
export GOGC=50
|
||||
make generate
|
||||
export CGO_CPPFLAGS="${CPPFLAGS}"
|
||||
export CGO_CFLAGS="${CFLAGS}"
|
||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||
export CGO_LDFLAGS="${LDFLAGS}"
|
||||
LDFLAGS="-linkmode external -extldflags \"${LDFLAGS}\" -X \"code.gitea.io/gitea/modules/setting.AppWorkPath=/var/lib/gitea/\""
|
||||
make EXTRA_GOFLAGS="-trimpath" TAGS="sqlite pam" build
|
||||
make EXTRA_GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" TAGS="sqlite pam" build
|
||||
}
|
||||
|
||||
package() {
|
||||
|
|
Loading…
Reference in a new issue