[arch-commits] Commit in hugo/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jaroslav Lichtblau jlichtblau at archlinux.org
Sun May 2 21:10:17 UTC 2021


    Date: Sunday, May 2, 2021 @ 21:10:17
  Author: jlichtblau
Revision: 926248

archrelease: copy trunk to community-x86_64

Added:
  hugo/repos/community-x86_64/PKGBUILD
    (from rev 926247, hugo/trunk/PKGBUILD)
Deleted:
  hugo/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-02 21:10:08 UTC (rev 926247)
+++ PKGBUILD	2021-05-02 21:10:17 UTC (rev 926248)
@@ -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.83.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=('364299d607d3baa1633761b42a01384a5dca048e91f76fd35d9d4a8d704ce897ab5e56ac3956a123306956f902b39d6246c68aa55624263333e3d1d9a5186c0d')
-
-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 926247, hugo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-02 21:10:17 UTC (rev 926248)
@@ -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.83.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=('04d15866c450fd375c95e5b636d43d1c0b56eb4ff9941501516c17a4b821428729482c0f57f28aca23ca434bb34b70f1c1425ff59ac9304e928fb8b161a90993')
+
+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