Date: Monday, March 20, 2023 @ 11:18:20
Author: jlichtblau
Revision: 1424451
archrelease: copy trunk to community-x86_64
Added:
hugo/repos/community-x86_64/PKGBUILD
(from rev 1424450, hugo/trunk/PKGBUILD)
Deleted:
hugo/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-20 11:17:49 UTC (rev 1424450)
+++ PKGBUILD 2023-03-20 11:18:20 UTC (rev 1424451)
@@ -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.110.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=('b64a6fa50201c0d95bf49fd0193138123163e0dad077491cc4c3e0d851de03ed2cd2e81482c1e6291d9a10d2d99f89c9dbbcfaafcd17f702906901dc6f28b3de')
-
-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 1424450,
hugo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-20 11:18:20 UTC (rev 1424451)
@@ -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.111.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=('71f81fd0e023b4f7e670cfaf5b60074f538edf920f3a2b29c65c4ac8d9da514f3827405a5e7f278e10aebddd2993d83146e75a7b280cba7b0cc87f847e117127')
+
+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}
+}