Date: Sunday, September 2, 2018 @ 17:38:52 Author: jlichtblau Revision: 376070
archrelease: copy trunk to community-x86_64 Added: hugo/repos/community-x86_64/PKGBUILD (from rev 376069, hugo/trunk/PKGBUILD) Deleted: hugo/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-09-02 17:38:42 UTC (rev 376069) +++ PKGBUILD 2018-09-02 17:38:52 UTC (rev 376070) @@ -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.46 -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=('3cb167e24bdbb2362415aba4b1be301596276b4ff565116cb81df95bdfc50c0a') - -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 376069, hugo/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-09-02 17:38:52 UTC (rev 376070) @@ -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.48 +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=('0fa6bf285fc586fccacbf782017a5c0c9d164f6bf0670b12dd21526b32328cb2') + +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 + HUGO_BUILD_TAGS=extended 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" +}