summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo Bargen2023-10-28 23:53:24 +0200
committerDanilo Bargen2023-10-28 23:53:24 +0200
commitd8d7dcfd88c18270bbc2fd0cf73b28549f5b2c7d (patch)
tree321d1ec994fa25dda5b73cab8a656a4d904f44fb
parentcd28b46ff75bf3eb1aeafc2437c0a64ecb55806c (diff)
downloadaur-d8d7dcfd88c18270bbc2fd0cf73b28549f5b2c7d.tar.gz
Fix version information
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6bdf39b90123..c94564f780bb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = transifex-client
pkgdesc = The Transifex command-line tool to download and upload translations from Transifex
pkgver = 1.6.10
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/transifex/cli
install = transifex-client.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 5f9ea50a2f50..51702466bf36 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=transifex-client
pkgver=1.6.10
-pkgrel=1
+pkgrel=2
pkgdesc="The Transifex command-line tool to download and upload translations from Transifex"
arch=('x86_64')
url="https://github.com/transifex/cli"
@@ -34,7 +34,7 @@ build() {
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
+ export GOFLAGS="-buildmode=pie -trimpath \"-ldflags=-linkmode=external -X 'github.com/transifex/cli/internal/txlib.Version=${pkgver}'\" -mod=readonly -modcacherw"
# Build
go build -o build