mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-06 08:26:50 +01:00
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>
This commit is contained in:
parent
3243b42dab
commit
fd486b11a2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue