24 lines
724 B
Bash
24 lines
724 B
Bash
# Template file for 'hugo'
|
|
pkgname=hugo
|
|
version=0.38.1
|
|
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=bed277dd69218bf54b756bbe2b37168b585fc4fad5f3a3f62f9fc7fcc8a5af62
|
|
|
|
broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/9186/steps/shell_3/logs/stdio"
|
|
|
|
build_options="pygments"
|
|
desc_option_pygments="Alternative syntax highlighter"
|
|
|
|
post_install() {
|
|
vlicense LICENSE.md
|
|
vdoc README.md
|
|
}
|