void-packages/srcpkgs/hugo/template
2018-06-29 15:40:40 +02:00

22 lines
618 B
Bash

# Template file for 'hugo'
pkgname=hugo
version=0.42.2
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=3e834b71c3aab605db0fa7ae54a98161119a9a5758991dd03fcb55151c6de122
build_options="pygments"
desc_option_pygments="Alternative syntax highlighter"
post_install() {
vlicense LICENSE
vdoc README.md
}