Date: Monday, January 8, 2018 @ 18:33:19 Author: jlichtblau Revision: 280570
archrelease: copy trunk to community-x86_64 Added: hugo/repos/community-x86_64/PKGBUILD (from rev 280569, hugo/trunk/PKGBUILD) Deleted: hugo/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 78 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-01-08 18:32:57 UTC (rev 280569) +++ PKGBUILD 2018-01-08 18:33:19 UTC (rev 280570) @@ -1,39 +0,0 @@ -# $Id$ -# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> -# Contributor: fordprefect -# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org> -# Contributor: Brenton Horne - -pkgname=hugo -pkgver=0.32.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-pie' 'git') -optdepends=('pygmentize: syntax-highlight code snippets') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gohugoio/${pkgname}/archive/v${pkgver}.tar.gz) -sha256sums=('3db253d5450c4df1813ca1450a79836c51970e5100b79805fd6bbb36cf0881f0') - -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" -} Copied: hugo/repos/community-x86_64/PKGBUILD (from rev 280569, hugo/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-01-08 18:33:19 UTC (rev 280570) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> +# Contributor: fordprefect +# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org> +# Contributor: Brenton Horne + +pkgname=hugo +pkgver=0.32.3 +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=('2ff69b12cf1a8ca6c76d90d29fca63b6ce5e21e0d73e46366b98a2245c9095aa') + +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" +}