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

Christian Rebischke shibumi at archlinux.org
Wed Aug 5 19:58:31 UTC 2020


    Date: Wednesday, August 5, 2020 @ 19:58:31
  Author: shibumi
Revision: 670348

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   70 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 35 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-05 19:56:16 UTC (rev 670347)
+++ PKGBUILD	2020-08-05 19:58:31 UTC (rev 670348)
@@ -1,35 +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.74.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')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gohugoio/${pkgname}/archive/v${pkgver}.tar.gz)
-sha512sums=('9ebbba3764bae4fc22d48e7aa0840b3d895eff360203f13007dcc87ce8e526edd9b87437ea9cfee764381727f9e5012ed2ff77ab3316247cc859a9b23d6da64c')
-
-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 670347, hugo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-05 19:58:31 UTC (rev 670348)
@@ -0,0 +1,35 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: fordprefect
+# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>
+# Contributor: Brenton Horne
+
+pkgname=hugo
+pkgver=0.74.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')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gohugoio/${pkgname}/archive/v${pkgver}.tar.gz)
+sha512sums=('9ebbba3764bae4fc22d48e7aa0840b3d895eff360203f13007dcc87ce8e526edd9b87437ea9cfee764381727f9e5012ed2ff77ab3316247cc859a9b23d6da64c')
+
+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