aboutsummaryrefslogtreecommitdiffsponsor
path: root/contrib
diff options
context:
space:
mode:
authorSlack Coder <slackcoder@server.ky>2024-10-16 18:04:31 -0500
committerSlack Coder <slackcoder@server.ky>2024-10-16 18:02:07 -0500
commit001262c0fff1944e1238362d510051bb50bb6b13 (patch)
treeba90c855e3d979d2c5e434a31a25ef3985455740 /contrib
parent8f9152ecae99489ed44b0456d6eda544905d83a3 (diff)
downloadmirror-001262c0fff1944e1238362d510051bb50bb6b13.tar.xz
slackbuild: Add versionv0.0.1
Diffstat (limited to 'contrib')
-rw-r--r--contrib/slackbuild/mirror.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/slackbuild/mirror.SlackBuild b/contrib/slackbuild/mirror.SlackBuild
index 66d6234..9dadca2 100644
--- a/contrib/slackbuild/mirror.SlackBuild
+++ b/contrib/slackbuild/mirror.SlackBuild
@@ -47,7 +47,7 @@ export GOPATH="$TMP/$PRGNAM-$VERSION.gopath"
export GOBIN="$PKG/usr/sbin"
go install \
- -ldflags="-linkmode external -extldflags -static" \
+ -ldflags="-linkmode external -extldflags -static -X main.Version=$VERSION" \
-a -x ./...
mkdir -p "$PKG/usr/doc/$PRGNAM-$VERSION"