Date: Wednesday, October 7, 2020 @ 16:15:11 Author: jlichtblau Revision: 720739
archrelease: copy trunk to community-x86_64 Added: hugo/repos/community-x86_64/PKGBUILD (from rev 720738, hugo/trunk/PKGBUILD) Deleted: hugo/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-10-07 16:15:03 UTC (rev 720738) +++ PKGBUILD 2020-10-07 16:15:11 UTC (rev 720739) @@ -1,35 +0,0 @@ -# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> -# Contributor: fordprefect -# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org> -# Contributor: Brenton Horne - -pkgname=hugo -pkgver=0.75.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' 'git') -optdepends=('pygmentize: syntax-highlight code snippets') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gohugoio/${pkgname}/archive/v${pkgver}.tar.gz) -sha512sums=('d942457a00c9cd58a6a2c2081da889e5d6cdf7839d8ed0b74f7a2888babcdbf5fcf2ba297085cf9ddda60f388e0b41e8b2527471d3a515119b7073e8ee9c2831') - -build() { - cd "${srcdir}"/${pkgname}-${pkgver} - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" - go build -tags extended - ./hugo gen man -} - -package() { - cd "${srcdir}"/${pkgname}-${pkgver} - install -Dm755 "${pkgname}" "${pkgdir}"/usr/bin/${pkgname} - install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE - install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/man/*.1 -t "${pkgdir}"/usr/share/man/man1/ -} Copied: hugo/repos/community-x86_64/PKGBUILD (from rev 720738, hugo/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-10-07 16:15:11 UTC (rev 720739) @@ -0,0 +1,35 @@ +# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> +# Contributor: fordprefect +# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org> +# Contributor: Brenton Horne + +pkgname=hugo +pkgver=0.76.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' 'git') +optdepends=('pygmentize: syntax-highlight code snippets') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gohugoio/${pkgname}/archive/v${pkgver}.tar.gz) +sha512sums=('20f8fc5db5df92c21961e17247d2270aadc56deb7c2075b5f77de0320d3cd57e2454e7e71c511b6d6cea639cfcf3611ace3ca845ce829fc37aae0f349ef612e5') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" + go build -tags extended + ./hugo gen man +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + install -Dm755 "${pkgname}" "${pkgdir}"/usr/bin/${pkgname} + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE + install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/man/*.1 -t "${pkgdir}"/usr/share/man/man1/ +}