[arch-commits] Commit in hugo/repos/community-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Tuesday, December 25, 2018 @ 15:50:41
  Author: jlichtblau
Revision: 418072

archrelease: copy trunk to community-x86_64

Added:
  hugo/repos/community-x86_64/PKGBUILD
    (from rev 418071, hugo/trunk/PKGBUILD)
Deleted:
  hugo/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   58 ++++++++++++++++++++++++++++++----------------------------
 1 file changed, 30 insertions(+), 28 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-25 15:50:32 UTC (rev 418071)
+++ PKGBUILD	2018-12-25 15:50:41 UTC (rev 418072)
@@ -1,28 +0,0 @@
-# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
-# Contributor: fordprefect
-# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>
-# Contributor: Brenton Horne
-
-pkgname=hugo
-pkgver=0.52
-pkgrel=1
-pkgdesc="Fast and Flexible Static Site Generator in Go"
-arch=('x86_64')
-url="https://gohugo.io/"
-license=('Apache')
-depends=('glibc')
-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')
-
-build() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
-  go build -tags extended
-}
-
-package() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
-  install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: hugo/repos/community-x86_64/PKGBUILD (from rev 418071, hugo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-12-25 15:50:41 UTC (rev 418072)
@@ -0,0 +1,30 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: fordprefect
+# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>
+# Contributor: Brenton Horne
+
+pkgname=hugo
+pkgver=0.53
+pkgrel=1
+pkgdesc="Fast and Flexible Static Site Generator in Go"
+arch=('x86_64')
+url="https://gohugo.io/"
+license=('Apache')
+depends=('glibc')
+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=('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 -Dm644 "${srcdir}"/${pkgname}-${pkgver}/man/*.1  -t "${pkgdir}"/usr/share/man/man1/
+}



More information about the arch-commits mailing list