diff options
author | Danilo Bargen | 2023-10-28 23:53:24 +0200 |
---|---|---|
committer | Danilo Bargen | 2023-10-28 23:53:24 +0200 |
commit | d8d7dcfd88c18270bbc2fd0cf73b28549f5b2c7d (patch) | |
tree | 321d1ec994fa25dda5b73cab8a656a4d904f44fb | |
parent | cd28b46ff75bf3eb1aeafc2437c0a64ecb55806c (diff) | |
download | aur-d8d7dcfd88c18270bbc2fd0cf73b28549f5b2c7d.tar.gz |
Fix version information
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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 |