hugo: update to 0.102.2.

This commit is contained in:
dataCobra 2022-08-31 13:51:11 +02:00 committed by Andrea Brancaleoni
parent 2e0096f904
commit a4115994dd

View file

@ -1,8 +1,9 @@
# Template file for 'hugo'
pkgname=hugo
version=0.101.0
version=0.102.2
revision=1
build_style=go
build_helper=qemu
go_import_path="github.com/gohugoio/hugo"
go_build_tags="extended"
short_desc="Fast & Modern Static Website Engine"
@ -10,8 +11,20 @@ maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Apache-2.0"
homepage="https://gohugo.io"
distfiles="https://github.com/gohugoio/hugo/archive/v${version}.tar.gz"
checksum=ce5e2c37d9980428cfbfb22cabedc29aebe8f1142ce261777d0435f9f2d6d1cb
checksum=55c2f1bbddaa1a7be6d95ab983e4a671e6d5f7ecbc1bde8a425295845f0dd764
post_install() {
vdoc README.md
hugo=$(find $GOPATH/bin -name hugo)
vtargetrun $hugo gen man
for page in $(ls man/); do
vman man/$page
done
for shell in bash fish zsh; do
vtargetrun $hugo completion $shell > ${pkgname}.$shell
vcompletion ${pkgname}.$shell $shell
done
}