void-packages/srcpkgs/hugo/template
2019-12-01 18:56:10 +01:00

21 lines
599 B
Bash

# Template file for 'hugo'
pkgname=hugo
version=0.60.1
revision=1
build_style=go
go_import_path="github.com/gohugoio/${pkgname}"
hostmakedepends="git"
depends="$(vopt_if pygments python-Pygments)"
short_desc="Fast & Modern Static Website Engine"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Apache-2.0"
homepage="https://gohugo.io"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=5c857cb27a4e1b43477f6775f2b2e870b937e9ebf32f52347ba7fdbde1ee50f7
build_options="pygments"
desc_option_pygments="Alternative syntax highlighter"
post_install() {
vdoc README.md
}