[arch-commits] Commit in hugo/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Sun Nov 1 13:36:13 UTC 2020
Date: Sunday, November 1, 2020 @ 13:36:12
Author: jlichtblau
Revision: 738859
archrelease: copy trunk to community-x86_64
Added:
hugo/repos/community-x86_64/PKGBUILD
(from rev 738858, hugo/trunk/PKGBUILD)
Deleted:
hugo/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-01 13:34:55 UTC (rev 738858)
+++ PKGBUILD 2020-11-01 13:36:12 UTC (rev 738859)
@@ -1,36 +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.76.5
-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=('pygmentize: syntax-highlight code snippets'
- 'python-docutils: reStructuredText support')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gohugoio/${pkgname}/archive/v${pkgver}.tar.gz)
-sha512sums=('cb7d312d36cfd25b2664f388a8b43ce6be59b5eb35e9ecd950b7d6f301f8ca538233818260df68df6817ca17f700ded894ccd40fc497424130ba88167c43b29b')
-
-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
-}
-
-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/
-}
Copied: hugo/repos/community-x86_64/PKGBUILD (from rev 738858, hugo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-01 13:36:12 UTC (rev 738859)
@@ -0,0 +1,36 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: fordprefect
+# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>
+# Contributor: Brenton Horne
+
+pkgname=hugo
+pkgver=0.77.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=('pygmentize: syntax-highlight code snippets'
+ 'python-docutils: reStructuredText support')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gohugoio/${pkgname}/archive/v${pkgver}.tar.gz)
+sha512sums=('0c9c09962c811dcb198b960e4e412915475902d934733e08a2da1b69e8c196fe03818b9e28abe1d3b085eba8780794a147d5917b77093ecd998425a928858c86')
+
+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
+}
+
+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