void-packages/srcpkgs/hugo/template

20 lines
530 B
Bash

# Template file for 'hugo'
pkgname=hugo
version=0.27.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=b357b4e3edd8934dbbbc6a04b57a36c07f1923ac3891b6f822fadd48ccaaeaba
post_install() {
vlicense LICENSE.md
vdoc README.md
}