aboutsummaryrefslogtreecommitdiff
path: root/community/hugo/build
diff options
context:
space:
mode:
Diffstat (limited to 'community/hugo/build')
-rwxr-xr-xcommunity/hugo/build4
1 files changed, 4 insertions, 0 deletions
diff --git a/community/hugo/build b/community/hugo/build
new file mode 100755
index 00000000..5969e085
--- /dev/null
+++ b/community/hugo/build
@@ -0,0 +1,4 @@
+#!/bin/sh -e
+
+CGO_ENABLED=0 go build -v -mod=vendor
+clinst -Dm755 hugo "$1/usr/bin/hugo"