[arch-commits] Commit in hugo/repos (4 files)

Jaroslav Lichtblau jlichtblau at archlinux.org
Mon Jul 10 14:51:10 UTC 2017


    Date: Monday, July 10, 2017 @ 14:51:09
  Author: jlichtblau
Revision: 243670

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  hugo/repos/community-testing-i686/
  hugo/repos/community-testing-i686/PKGBUILD
    (from rev 243669, hugo/trunk/PKGBUILD)
  hugo/repos/community-testing-x86_64/
  hugo/repos/community-testing-x86_64/PKGBUILD
    (from rev 243669, hugo/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   34 ++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

Copied: hugo/repos/community-testing-i686/PKGBUILD (from rev 243669, hugo/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2017-07-10 14:51:09 UTC (rev 243670)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: fordprefect
+# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>
+# Contributor: Brenton Horne
+
+pkgname=hugo
+pkgver=0.25.1
+pkgrel=1
+pkgdesc="Fast and Flexible Static Site Generator in Go"
+arch=('i686' '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)
+sha256sums=('12f77c87cdc0bf4c6886a4c3343ba80bfe8bceeabed7a37e9dae945fa9010d1d')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  export GOPATH="${srcdir}"
+  export PATH="${PATH}:${srcdir}/bin"
+  install -d "${GOPATH}/src/github.com/gohugoio"
+  ln -sf "$(pwd)" "${GOPATH}/src/github.com/gohugoio/hugo"
+  cd "${GOPATH}/src/github.com/gohugoio/hugo"
+  make hugo-no-gitinfo
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+  install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Copied: hugo/repos/community-testing-x86_64/PKGBUILD (from rev 243669, hugo/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-07-10 14:51:09 UTC (rev 243670)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: fordprefect
+# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>
+# Contributor: Brenton Horne
+
+pkgname=hugo
+pkgver=0.25.1
+pkgrel=1
+pkgdesc="Fast and Flexible Static Site Generator in Go"
+arch=('i686' '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)
+sha256sums=('12f77c87cdc0bf4c6886a4c3343ba80bfe8bceeabed7a37e9dae945fa9010d1d')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  export GOPATH="${srcdir}"
+  export PATH="${PATH}:${srcdir}/bin"
+  install -d "${GOPATH}/src/github.com/gohugoio"
+  ln -sf "$(pwd)" "${GOPATH}/src/github.com/gohugoio/hugo"
+  cd "${GOPATH}/src/github.com/gohugoio/hugo"
+  make hugo-no-gitinfo
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+  install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list