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

Jaroslav Lichtblau jlichtblau at gemini.archlinux.org
Sun Sep 12 11:58:44 UTC 2021


    Date: Sunday, September 12, 2021 @ 11:58:44
  Author: jlichtblau
Revision: 1014553

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-12 11:58:27 UTC (rev 1014552)
+++ PKGBUILD	2021-09-12 11:58:44 UTC (rev 1014553)
@@ -1,44 +0,0 @@
-# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
-# Maintainer: Christian Rebischke <christian.rebischke at archlinux.org>
-# Contributor: fordprefect
-# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>
-# Contributor: Brenton Horne
-
-pkgname=hugo
-pkgver=0.88.0
-pkgrel=1
-pkgdesc="Fast and Flexible Static Site Generator in Go"
-arch=('x86_64')
-url="https://gohugo.io/"
-license=('Apache')
-depends=('glibc')
-makedepends=('go' 'git')
-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=('f862bb59e0c98d1c925b87bf6a430f9509ad0f01dc911f4f44ac6614694b1a6188e8d89ef1973611f85f48981b23ea17eaf7210d4bca3db3d61fac781df1f1ec')
-
-build() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-  go build -tags extended
-
-  ./hugo gen man
-  ./hugo gen autocomplete --type bash --completionfile ${pkgname}.bash-completion
-  ./hugo gen autocomplete --type zsh --completionfile ${pkgname}.zsh
-}
-
-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/
-  
-  install -Dm644 ${pkgname}.bash-completion "${pkgdir}"/usr/share/bash-completion/completions/${pkgname}
-  install -Dm644 ${pkgname}.zsh "${pkgdir}"/usr/share/zsh/site-functions/_${pkgname}
-}

Copied: hugo/repos/community-x86_64/PKGBUILD (from rev 1014552, hugo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-12 11:58:44 UTC (rev 1014553)
@@ -0,0 +1,44 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Maintainer: Christian Rebischke <christian.rebischke at archlinux.org>
+# Contributor: fordprefect
+# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>
+# Contributor: Brenton Horne
+
+pkgname=hugo
+pkgver=0.88.1
+pkgrel=1
+pkgdesc="Fast and Flexible Static Site Generator in Go"
+arch=('x86_64')
+url="https://gohugo.io/"
+license=('Apache')
+depends=('glibc')
+makedepends=('go' 'git')
+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=('2d0a9640f4209259ab7c7d8198306a7131bb9bfc1071a20ad883b83cf89f14c1da9785afd4fb67250e6177dc32042965cb3cba9d733bbe8e9fc147da69fc8537')
+
+build() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+  go build -tags extended
+
+  ./hugo gen man
+  ./hugo gen autocomplete --type bash --completionfile ${pkgname}.bash-completion
+  ./hugo gen autocomplete --type zsh --completionfile ${pkgname}.zsh
+}
+
+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/
+  
+  install -Dm644 ${pkgname}.bash-completion "${pkgdir}"/usr/share/bash-completion/completions/${pkgname}
+  install -Dm644 ${pkgname}.zsh "${pkgdir}"/usr/share/zsh/site-functions/_${pkgname}
+}



More information about the arch-commits mailing list