Date: Saturday, July 14, 2018 @ 15:52:53 Author: jlichtblau Revision: 359174
archrelease: copy trunk to community-x86_64 Added: hugo/repos/community-x86_64/PKGBUILD (from rev 359173, hugo/trunk/PKGBUILD) Deleted: hugo/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-07-14 15:52:39 UTC (rev 359173) +++ PKGBUILD 2018-07-14 15:52:53 UTC (rev 359174) @@ -1,40 +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.42.2 -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=('3e834b71c3aab605db0fa7ae54a98161119a9a5758991dd03fcb55151c6de122') - -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/golang/dep/cmd/dep - dep ensure - 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 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: hugo/repos/community-x86_64/PKGBUILD (from rev 359173, hugo/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-07-14 15:52:53 UTC (rev 359174) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> +# Contributor: fordprefect +# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org> +# Contributor: Brenton Horne + +pkgname=hugo +pkgver=0.44 +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=('63e6ae4be7e7b23ab5551842182b49be9a9a07a82d217c1a7a2815b49976129d') + +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/golang/dep/cmd/dep + dep ensure + 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 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}