Date: Tuesday, September 27, 2022 @ 19:43:03
Author: jlichtblau
Revision: 1312865
archrelease: copy trunk to community-x86_64
Added:
hugo/repos/community-x86_64/PKGBUILD
(from rev 1312864, hugo/trunk/PKGBUILD)
Deleted:
hugo/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-27 19:42:57 UTC (rev 1312864)
+++ PKGBUILD 2022-09-27 19:43:03 UTC (rev 1312865)
@@ -1,46 +0,0 @@
-# Maintainer: Jaroslav Lichtblau <[email protected]>
-# Maintainer: Christian Rebischke <[email protected]>
-# Contributor: fordprefect
-# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>
-# Contributor: Brenton Horne
-
-pkgname=hugo
-pkgver=0.102.3
-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=('bcbe1a0725f55ff2b81ad88bb42cc99324ece940155c4b056b1a713000364728955702a1a867193e158e4df8286652d8b8a65fb1befc314d63880ad8af3fc00c')
-
-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 completion bash > ${pkgname}.bash-completion
- ./hugo completion fish > ${pkgname}.fish
- ./hugo completion zsh > ${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}.fish
"${pkgdir}"/usr/share/fish/vendor_completions.d/${pkgname}.fish
- install -Dm644 ${pkgname}.zsh
"${pkgdir}"/usr/share/zsh/site-functions/_${pkgname}
-}
Copied: hugo/repos/community-x86_64/PKGBUILD (from rev 1312864,
hugo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-27 19:43:03 UTC (rev 1312865)
@@ -0,0 +1,46 @@
+# Maintainer: Jaroslav Lichtblau <[email protected]>
+# Maintainer: Christian Rebischke <[email protected]>
+# Contributor: fordprefect
+# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>
+# Contributor: Brenton Horne
+
+pkgname=hugo
+pkgver=0.103.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=('fc7bfe5ca47a1d42dd2b4891e2dd2b9578da5ce4d6d292c2320540e9ed3cf9f9d3d15761fa7a8b22d5ce07da4d617ce900f6766e7e95d2dab45ab1ec2d3e2175')
+
+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 completion bash > ${pkgname}.bash-completion
+ ./hugo completion fish > ${pkgname}.fish
+ ./hugo completion zsh > ${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}.fish
"${pkgdir}"/usr/share/fish/vendor_completions.d/${pkgname}.fish
+ install -Dm644 ${pkgname}.zsh
"${pkgdir}"/usr/share/zsh/site-functions/_${pkgname}
+}