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

Jaroslav Lichtblau jlichtblau at archlinux.org
Sat Nov 25 11:52:04 UTC 2017


    Date: Saturday, November 25, 2017 @ 11:52:03
  Author: jlichtblau
Revision: 268443

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   76 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 39 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-25 11:51:37 UTC (rev 268442)
+++ PKGBUILD	2017-11-25 11:52:03 UTC (rev 268443)
@@ -1,37 +0,0 @@
-# $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.30.2
-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-pie' 'git')
-optdepends=('pygmentize: syntax-highlight code snippets')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gohugoio/${pkgname}/archive/v${pkgver}.tar.gz)
-sha256sums=('44a5012a0ee8a567cf12c8a5fd21de031e85148206a9d513942fd409f75b9a7d')
-
-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"
-  go get -u github.com/kardianos/govendor
-  go get github.com/magefile/mage
-  mage hugo
-  mage install
-}
-
-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-x86_64/PKGBUILD (from rev 268442, hugo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-25 11:52:03 UTC (rev 268443)
@@ -0,0 +1,39 @@
+# $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.31
+pkgrel=1
+pkgdesc="Fast and Flexible Static Site Generator in Go"
+arch=('x86_64')
+url="https://gohugo.io/"
+license=('Apache')
+depends=('glibc')
+makedepends=('go-pie' 'git')
+optdepends=('pygmentize: syntax-highlight code snippets')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gohugoio/${pkgname}/archive/v${pkgver}.tar.gz)
+sha256sums=('84040cca581b92fa7a20ee0ae3e0c69bb0efda2f4ef243f84af231fbad4dcf82')
+
+prepare() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+  export GOPATH="${srcdir}"
+  export PATH="${PATH}:${srcdir}/bin"
+  install -d "${GOPATH}/src/github.com/gohugoio"
+  cp -a "$(pwd)" "${GOPATH}/src/github.com/gohugoio/hugo"
+}
+
+build() {
+  cd "${GOPATH}/src/github.com/gohugoio/hugo"
+  go get -u github.com/kardianos/govendor
+  go get github.com/magefile/mage
+  mage hugo
+}
+
+package() {
+  cd "${GOPATH}/src/github.com/gohugoio/hugo"
+  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