aboutsummaryrefslogtreecommitdiff
path: root/community/hugo/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-02-15 01:00:36 +0100
committerCem Keylan <cem@ckyln.com>2022-02-15 01:00:36 +0100
commit6fd5dbca789614eb38ca348db75fa20b49015fd6 (patch)
tree9d2629b025eea60d7357d25105677e61e5174254 /community/hugo/build
parent73d33fd56cd3e59bb1a564364ed02fa12cc24685 (diff)
downloadrepository-6fd5dbca789614eb38ca348db75fa20b49015fd6.tar.gz
hugo: bump to 0.92.2
Diffstat (limited to 'community/hugo/build')
-rwxr-xr-xcommunity/hugo/build7
1 files changed, 1 insertions, 6 deletions
diff --git a/community/hugo/build b/community/hugo/build
index ce20326f..5969e085 100755
--- a/community/hugo/build
+++ b/community/hugo/build
@@ -1,9 +1,4 @@
#!/bin/sh -e
-export GOPATH="$PWD/gopath"
-
-trap "go clean -modcache" EXIT INT
-go mod vendor
-
-CGO_ENABLED=0 go build
+CGO_ENABLED=0 go build -v -mod=vendor
clinst -Dm755 hugo "$1/usr/bin/hugo"