Date: Friday, February 11, 2022 @ 17:45:19
  Author: jlichtblau
Revision: 1132037

upgpkg: hugo 0.92.2-1 - new upstream release

Modified:
  hugo/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-02-11 17:44:56 UTC (rev 1132036)
+++ PKGBUILD    2022-02-11 17:45:19 UTC (rev 1132037)
@@ -5,7 +5,7 @@
 # Contributor: Brenton Horne
 
 pkgname=hugo
-pkgver=0.92.1
+pkgver=0.92.2
 pkgrel=1
 pkgdesc="Fast and Flexible Static Site Generator in Go"
 arch=('x86_64')
@@ -16,7 +16,7 @@
 optdepends=('python-pygments: syntax-highlight code snippets'
             'python-docutils: reStructuredText support')
 
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gohugoio/${pkgname}/archive/v${pkgver}.tar.gz)
-sha512sums=('d5041e89293ec75f2f4622fe3b622ed7a2c920512c39a6fac4364f6e8c033130a09043403dae186b71a78a42118820ae88309e404dd788f77a9bf77fe526759f')
+sha512sums=('4a4c8ab730c1cc839e3e15a29b1200fa969402efa40774022a70fae11d98819173f6002ed3ee4a84ce1148c0744c82ce16ee0fec409935a903130ae71d62ba24')
 
 build() {
   cd "${srcdir}"/${pkgname}-${pkgver}
@@ -28,8 +28,9 @@
   go build -tags extended
 
   ./hugo gen man
-  ./hugo gen autocomplete --type bash --completionfile 
${pkgname}.bash-completion
-  ./hugo gen autocomplete --type zsh --completionfile ${pkgname}.zsh
+  ./hugo completion bash > ${pkgname}.bash-completion
+  ./hugo completion fish > ${pkgname}.fish
+  ./hugo completion zsh > ${pkgname}.zsh
 }
 
 package() {
@@ -40,5 +41,6 @@
   install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/man/*.1  -t 
"${pkgdir}"/usr/share/man/man1/
   
   install -Dm644 ${pkgname}.bash-completion 
"${pkgdir}"/usr/share/bash-completion/completions/${pkgname}
+  install -Dm644 ${pkgname}.fish 
"${pkgdir}"/usr/share/fish/vendor_completions.d/${pkgname}.fish
   install -Dm644 ${pkgname}.zsh 
"${pkgdir}"/usr/share/zsh/site-functions/_${pkgname}
 }

Reply via email to