~carbslinux/repository

ref: 2356b251838cdb86fbd0c0a602f5d7e3f53ba6f3 repository/community/hugo/build -rwxr-xr-x 151 bytes
2356b251Cem Keylan gcc: bump to 11.2.0 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
#!/bin/sh -e

export GOPATH=$PWD/gopath

trap "go clean -modcache" EXIT INT
go mod vendor

CGO_ENABLED=0 go build
clinst -Dm755 hugo "$1/usr/bin/hugo"