22 lines
616 B
Bash
22 lines
616 B
Bash
# Template file for 'hugo'
|
|
pkgname=hugo
|
|
version=0.53
|
|
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=48e65a33d3b10527101d13c354538379d9df698e5c38f60f4660386f4232e65c
|
|
|
|
build_options="pygments"
|
|
desc_option_pygments="Alternative syntax highlighter"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vdoc README.md
|
|
}
|