void-packages/srcpkgs/hugo/template
2021-04-21 21:23:53 -03:00

23 lines
710 B
Bash

# Template file for 'hugo'
pkgname=hugo
version=0.82.1
revision=1
build_style=go
go_import_path="github.com/gohugoio/hugo"
go_build_tags="$(vopt_if extended extended)"
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://github.com/gohugoio/hugo/archive/v${version}.tar.gz"
checksum=3190ae848fdb1a04339c233faab5934c422d85cf85ea3b0c0b5a842239c84e75
build_options="pygments extended"
desc_option_pygments="Alternative syntax highlighter"
desc_option_extended="SASS/SCSS build support for Hugo"
post_install() {
vdoc README.md
}