[arch-commits] Commit in hugo/trunk (PKGBUILD)

Jaroslav Lichtblau jlichtblau at archlinux.org
Tue Dec 25 15:50:34 UTC 2018


    Date: Tuesday, December 25, 2018 @ 15:50:32
  Author: jlichtblau
Revision: 418071

upgpkg: hugo 0.53-1 - new upstream release 

Modified:
  hugo/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-25 14:09:10 UTC (rev 418070)
+++ PKGBUILD	2018-12-25 15:50:32 UTC (rev 418071)
@@ -4,7 +4,7 @@
 # Contributor: Brenton Horne
 
 pkgname=hugo
-pkgver=0.52
+pkgver=0.53
 pkgrel=1
 pkgdesc="Fast and Flexible Static Site Generator in Go"
 arch=('x86_64')
@@ -14,15 +14,17 @@
 makedepends=('go-pie' 'git')
 optdepends=('pygmentize: syntax-highlight code snippets')
 source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gohugoio/${pkgname}/archive/v${pkgver}.tar.gz)
-sha256sums=('a6c1b50c6d47c34d3d23fee1e11ad598752f39f71811b8e20db7598521fc0cc0')
+sha256sums=('48e65a33d3b10527101d13c354538379d9df698e5c38f60f4660386f4232e65c')
 
 build() {
   cd "${srcdir}"/${pkgname}-${pkgver}
   go build -tags extended
+  ./hugo gen man
 }
 
 package() {
   cd "${srcdir}"/${pkgname}-${pkgver}
-  install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm755 "${pkgname}" "${pkgdir}"/usr/bin/${pkgname}
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+  install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/man/*.1  -t "${pkgdir}"/usr/share/man/man1/
 }


More information about the arch-commits mailing list