From 53a5484d354c9079a04acaab0bd8affaedf1d17c Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 18 Jul 2021 14:58:41 +0300 Subject: hugo: add new package at 0.85.0 --- community/hugo/build | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 community/hugo/build (limited to 'community/hugo/build') diff --git a/community/hugo/build b/community/hugo/build new file mode 100755 index 00000000..549e29ad --- /dev/null +++ b/community/hugo/build @@ -0,0 +1,9 @@ +#!/bin/sh -e + +export GOPATH=$PWD/gopath + +trap "go clean -modcache" EXIT INT +go mod vendor + +CGO_ENABLED=0 go build +install -Dm755 hugo "$1/usr/bin/hugo" -- cgit v1.2.3