aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2022-01-14 19:08:24 +0100
committerMichał Polański <michal@polanski.me>2022-01-14 19:08:24 +0100
commit1974aa4cc61f645636e3c3347ef0294334d9d732 (patch)
tree3e6c57451282747ecf9e58d4c1af25b54d0638a5
parentf39d8e78ad5a4b13898ef05af821dbb369df99be (diff)
downloadaports-1974aa4cc61f645636e3c3347ef0294334d9d732.tar.gz
aports-1974aa4cc61f645636e3c3347ef0294334d9d732.tar.bz2
aports-1974aa4cc61f645636e3c3347ef0294334d9d732.tar.xz
testing/fq: fix version output
-rw-r--r--testing/fq/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/fq/APKBUILD b/testing/fq/APKBUILD
index a4b818c910..95f9f9a718 100644
--- a/testing/fq/APKBUILD
+++ b/testing/fq/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=fq
pkgver=0.0.3
-pkgrel=0
+pkgrel=1
pkgdesc="Tool, language and decoders for inspecting binary data"
url="https://github.com/wader/fq"
license="MIT"
@@ -15,7 +15,7 @@ export GOPATH="$srcdir"
export CGO_ENABLED=0
build() {
- go build
+ go build -ldflags "-X main.version=$pkgver"
}
check() {