Date: Monday, July 10, 2017 @ 14:44:59 Author: jlichtblau Revision: 243669
hugo moved to [community] with 21 votes in AUR Added: hugo/ hugo/repos/ hugo/trunk/ hugo/trunk/PKGBUILD ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Added: hugo/trunk/PKGBUILD =================================================================== --- hugo/trunk/PKGBUILD (rev 0) +++ hugo/trunk/PKGBUILD 2017-07-10 14:44:59 UTC (rev 243669) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau <[email protected]> +# Contributor: fordprefect +# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org> +# Contributor: Brenton Horne + +pkgname=hugo +pkgver=0.25.1 +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' 'git') +optdepends=('pygmentize: syntax-highlight code snippets') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gohugoio/${pkgname}/archive/v${pkgver}.tar.gz) +sha256sums=('12f77c87cdc0bf4c6886a4c3343ba80bfe8bceeabed7a37e9dae945fa9010d1d') + +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" + make hugo-no-gitinfo +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} Property changes on: hugo/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
