void-packages/srcpkgs/hugo/template

20 lines
530 B
Bash

# Template file for 'hugo'
pkgname=hugo
version=0.36.1
revision=1
build_style=go
hostmakedepends="git-perl mercurial"
depends="python-Pygments"
go_import_path="github.com/spf13/${pkgname}"
short_desc="A Fast & Modern Static Website Engine"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="SimPL-2"
homepage="http://gohugo.io"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=3ef3d572e78d0fa5bf41fcbc8d686d168e9ba0548d87d406c55f8a4728131b36
post_install() {
vlicense LICENSE.md
vdoc README.md
}