From ac9da631404e8a0d6223a1fb83a3b44ffaab2415 Mon Sep 17 00:00:00 2001 From: dataCobra Date: Tue, 30 Aug 2022 08:53:24 +0200 Subject: [PATCH] hugo: update to 0.102.0. --- srcpkgs/hugo/template | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/srcpkgs/hugo/template b/srcpkgs/hugo/template index 4ab952760b8c..c2f896c76deb 100644 --- a/srcpkgs/hugo/template +++ b/srcpkgs/hugo/template @@ -1,6 +1,6 @@ # Template file for 'hugo' pkgname=hugo -version=0.101.0 +version=0.102.0 revision=1 build_style=go go_import_path="github.com/gohugoio/hugo" @@ -10,8 +10,18 @@ maintainer="Andrea Brancaleoni " license="Apache-2.0" homepage="https://gohugo.io" distfiles="https://github.com/gohugoio/hugo/archive/v${version}.tar.gz" -checksum=ce5e2c37d9980428cfbfb22cabedc29aebe8f1142ce261777d0435f9f2d6d1cb +checksum=b2f231b1abc8e260cc241a1622da2a84083f27041b6d14a7e769180740512608 post_install() { vdoc README.md + + ${DESTDIR}/usr/bin/hugo gen man + for page in $(ls man/); do + vman man/$page + done + + for shell in bash fish zsh; do + ${DESTDIR}/usr/bin/hugo completion $shell > ${pkgname}.$shell + vcompletion ${pkgname}.$shell $shell + done }