void-packages/srcpkgs/hugo/template
2018-09-02 11:48:32 -03:00

26 lines
782 B
Bash

# Template file for 'hugo'
pkgname=hugo
version=0.48
revision=1
build_style=go
hostmakedepends="git"
depends="$(vopt_if pygments python-Pygments)"
go_import_path="github.com/gohugoio/${pkgname}"
short_desc="A Fast & Modern Static Website Engine"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Apache-2.0"
homepage="http://gohugo.io"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=0fa6bf285fc586fccacbf782017a5c0c9d164f6bf0670b12dd21526b32328cb2
build_options="pygments"
desc_option_pygments="Alternative syntax highlighter"
case "$XBPS_TARGET_MACHINE" in
aarch64*) broken="go: disabling cache (/host/gocache) due to initialization failure: mkdir /host/gocache: permission denied" ;;
esac
post_install() {
vlicense LICENSE
vdoc README.md
}