[arch-commits] Commit in hugo/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Sat Sep 29 15:25:27 UTC 2018
Date: Saturday, September 29, 2018 @ 15:25:27
Author: jlichtblau
Revision: 387779
archrelease: copy trunk to community-x86_64
Added:
hugo/repos/community-x86_64/PKGBUILD
(from rev 387778, hugo/trunk/PKGBUILD)
Deleted:
hugo/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 68 +++++++++++++++++++++++++------------------------------------
1 file changed, 28 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-29 15:25:10 UTC (rev 387778)
+++ PKGBUILD 2018-09-29 15:25:27 UTC (rev 387779)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Jaroslav Lichtblau <svetlemodry at 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"
-}
Copied: hugo/repos/community-x86_64/PKGBUILD (from rev 387778, hugo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-09-29 15:25:27 UTC (rev 387779)
@@ -0,0 +1,28 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: fordprefect
+# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>
+# Contributor: Brenton Horne
+
+pkgname=hugo
+pkgver=0.49
+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=('a31e0bac3a8c2884ed156b696fa1f63aa90b5898b537d30fbbdb95311ffa3e83')
+
+build() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ go build -tags extended
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list