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