summaryrefslogtreecommitdiff
path: root/network/webhook/webhook.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-03-01 09:51:34 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-01 19:35:46 +0700
commitfd486b11a2ad4d6b474a12009ff7d29b526c6de6 (patch)
tree6f990436fea94319125b5bf13d09fdf58afb3e70 /network/webhook/webhook.SlackBuild
parent3243b42dab18a38feac647cec35425752dcbf4e7 (diff)
downloadslackbuilds-fd486b11a2ad4d6b474a12009ff7d29b526c6de6.tar.gz
network/webhook: Fix build with the newer google-go-lang.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/webhook/webhook.SlackBuild')
-rw-r--r--network/webhook/webhook.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/webhook/webhook.SlackBuild b/network/webhook/webhook.SlackBuild
index c79d9585c8..e8b3dacf02 100644
--- a/network/webhook/webhook.SlackBuild
+++ b/network/webhook/webhook.SlackBuild
@@ -73,7 +73,7 @@ mv $PRGNAM/vendor $PRGNAM-$VERSION/build/src
mkdir -p $PRGNAM-$VERSION/build/src/github.com/adnanh
mv $PRGNAM $PRGNAM-$VERSION/build/src/github.com/adnanh
cd $PRGNAM-$VERSION
-GOPATH=$(pwd)/build go build -o $PKG/usr/sbin/webhook github.com/adnanh/$PRGNAM
+GO111MODULE=auto GOPATH=$(pwd)/build go build -o $PKG/usr/sbin/webhook github.com/adnanh/$PRGNAM
strip -s $PKG/usr/sbin/webhook
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION