[arch-commits] Commit in hugo/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jaroslav Lichtblau
jlichtblau at gemini.archlinux.org
Tue Mar 15 10:50:47 UTC 2022
Date: Tuesday, March 15, 2022 @ 10:50:47
Author: jlichtblau
Revision: 1154173
archrelease: copy trunk to community-x86_64
Added:
hugo/repos/community-x86_64/PKGBUILD
(from rev 1154172, hugo/trunk/PKGBUILD)
Deleted:
hugo/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-15 10:50:41 UTC (rev 1154172)
+++ PKGBUILD 2022-03-15 10:50:47 UTC (rev 1154173)
@@ -1,46 +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.93.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=('5cec7db2ed5871d289a7a1b7057e172561da06f2851fb0ab59ab5e14020e0a4ceb6984ae7a74e5b19a6b0ad10690e98ae59e6b6d62d8dcdfcb6bff51053d12b5')
-
-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 1154172, hugo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-15 10:50:47 UTC (rev 1154173)
@@ -0,0 +1,46 @@
+# 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.93.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=('c65cc776588604a6ca2fbe5c4081db252ec007311eae54ed81ea65e983f1787edf6e10774d8ace82284eb7c42f6cb70650135ec44b2ddc8994ed511ba2a7d55e')
+
+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}
+}
More information about the arch-commits
mailing list