Date: Thursday, September 29, 2022 @ 16:32:38
Author: jlichtblau
Revision: 1316534
archrelease: copy trunk to community-x86_64
Added:
hugo/repos/community-x86_64/PKGBUILD
(from rev 1316533, hugo/trunk/PKGBUILD)
Deleted:
hugo/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-29 16:32:31 UTC (rev 1316533)
+++ PKGBUILD 2022-09-29 16:32:38 UTC (rev 1316534)
@@ -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.104.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=('9ea10d42294f4cc9e81f1e660fe9e6917db7d7326188096a377c3e0c7c4e2ed1640350f9d6245d8e0e89c1d7dbe83f765fa9c377332a7a69b6477e979640ea53')
-
-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 1316533,
hugo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-29 16:32:38 UTC (rev 1316534)
@@ -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.104.2
+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=('b1e1c58a11ff658a218221de7f0937ed0c2419ad9a2bb3d5397b7bc06b0e3744bd86c5f738d15494cfb6a05f40e142a27e9db8e8c24656e0aaea8250ceb5c72a')
+
+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}
+}