Date: Sunday, February 26, 2023 @ 07:24:48
Author: grawlinson
Revision: 1405128
upgpkg: tea 0.9.2-1; new upstream release & debug package
Modified:
tea/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-02-26 05:37:09 UTC (rev 1405127)
+++ PKGBUILD 2023-02-26 07:24:48 UTC (rev 1405128)
@@ -2,7 +2,7 @@
# Contributor: John K. Luebs <jkl at johnluebs dot tld>
pkgname=tea
-pkgver=0.9.0
+pkgver=0.9.2
pkgrel=1
pkgdesc='A command line tool to interact with Gitea servers'
arch=('x86_64')
@@ -12,7 +12,7 @@
makedepends=('git' 'go')
replaces=('gitea-tea')
options=('!lto')
-_commit='6c9b2f874517053b2cb8ebc6761a72ff0bb26133'
+_commit='fff1af1029a1c63c078e058c9a5c4d3ac7054594'
source=("$pkgname::git+$url#commit=$_commit")
b2sums=('SKIP')
@@ -32,6 +32,7 @@
sed -i "s/\$PROG/tea/" contrib/autocomplete.zsh
# download dependencies
+ export GOPATH="${srcdir}"
go mod download
}
build() {
@@ -41,14 +42,16 @@
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
+ export GOPATH="${srcdir}"
local TAGS=""
go build -v \
- -trimpath \
-buildmode=pie \
-mod=readonly \
-modcacherw \
- -ldflags "-linkmode external -extldflags $LDFLAGS \
+ -ldflags "-compressdwarf=false \
+ -linkmode external \
+ -extldflags ${LDFLAGS} \
-X main.Version=${pkgver} \
-X main.Tags=${TAGS}" \
-o build \