23 lines
618 B
Bash
23 lines
618 B
Bash
# Template file for 'hugo'
|
|
pkgname=hugo
|
|
version=0.47.1
|
|
revision=2
|
|
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=1c47fef843812c5e2621f28bde445117bc90413e3221f72800512ed82db94c5f
|
|
|
|
build_options="pygments"
|
|
desc_option_pygments="Alternative syntax highlighter"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vdoc README.md
|
|
}
|