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