[arch-commits] Commit in hugo/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Thu Nov 5 17:32:04 UTC 2020
Date: Thursday, November 5, 2020 @ 17:32:04
Author: jlichtblau
Revision: 743345
archrelease: copy trunk to community-x86_64
Added:
hugo/repos/community-x86_64/PKGBUILD
(from rev 743344, hugo/trunk/PKGBUILD)
Deleted:
hugo/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-05 17:29:14 UTC (rev 743344)
+++ PKGBUILD 2020-11-05 17:32:04 UTC (rev 743345)
@@ -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.78.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=('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=('dc2953cca2d6f3b6409533cea59fe041bfdfe0f53c0b936de4925b3ba85c2052ed712fa2eb097702709089b38a888096e7a69ff8521b47261a44541287577486')
-
-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 743344, hugo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-05 17:32:04 UTC (rev 743345)
@@ -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.78.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=('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=('dc2953cca2d6f3b6409533cea59fe041bfdfe0f53c0b936de4925b3ba85c2052ed712fa2eb097702709089b38a888096e7a69ff8521b47261a44541287577486')
+
+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