Date: Saturday, October 21, 2017 @ 11:01:16 Author: jlichtblau Revision: 263792
upgpkg: hugo 0.30.2-1 - new upstream release the new mage build process reused from: https://github.com/daftaupe/hugo-rpms Thanks! Modified: hugo/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-10-21 10:55:09 UTC (rev 263791) +++ PKGBUILD 2017-10-21 11:01:16 UTC (rev 263792) @@ -5,7 +5,7 @@ # Contributor: Brenton Horne pkgname=hugo -pkgver=0.30 +pkgver=0.30.2 pkgrel=1 pkgdesc="Fast and Flexible Static Site Generator in Go" arch=('i686' 'x86_64') @@ -12,10 +12,10 @@ url="https://gohugo.io/" license=('Apache') depends=('glibc') -makedepends=('go' 'git') +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=('12ececf96c401ce401d8f9b77923c91bba9d212d1cb6543de61862e7e8482231') +sha256sums=('44a5012a0ee8a567cf12c8a5fd21de031e85148206a9d513942fd409f75b9a7d') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -24,7 +24,10 @@ 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 + go get -u github.com/kardianos/govendor + go get github.com/magefile/mage + mage hugo + mage install } package() {