hugo: add extended version build option
This commit is contained in:
parent
30823b1e79
commit
4486a26302
1 changed files with 3 additions and 1 deletions
|
@ -4,6 +4,7 @@ version=0.60.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/gohugoio/${pkgname}"
|
go_import_path="github.com/gohugoio/${pkgname}"
|
||||||
|
go_build_tags="$(vopt_if extended extended)"
|
||||||
hostmakedepends="git"
|
hostmakedepends="git"
|
||||||
depends="$(vopt_if pygments python-Pygments)"
|
depends="$(vopt_if pygments python-Pygments)"
|
||||||
short_desc="Fast & Modern Static Website Engine"
|
short_desc="Fast & Modern Static Website Engine"
|
||||||
|
@ -13,8 +14,9 @@ homepage="https://gohugo.io"
|
||||||
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
|
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
|
||||||
checksum=5c857cb27a4e1b43477f6775f2b2e870b937e9ebf32f52347ba7fdbde1ee50f7
|
checksum=5c857cb27a4e1b43477f6775f2b2e870b937e9ebf32f52347ba7fdbde1ee50f7
|
||||||
|
|
||||||
build_options="pygments"
|
build_options="pygments extended"
|
||||||
desc_option_pygments="Alternative syntax highlighter"
|
desc_option_pygments="Alternative syntax highlighter"
|
||||||
|
desc_option_extended="SASS/SCSS build support for Hugo"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vdoc README.md
|
vdoc README.md
|
||||||
|
|
Loading…
Reference in a new issue