[arch-commits] Commit in hugo/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Mon Jan 22 17:26:17 UTC 2018
Date: Monday, January 22, 2018 @ 17:26:14
Author: jlichtblau
Revision: 285012
archrelease: copy trunk to community-x86_64
Added:
hugo/repos/community-x86_64/PKGBUILD
(from rev 285010, hugo/trunk/PKGBUILD)
Deleted:
hugo/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-22 17:26:08 UTC (rev 285011)
+++ PKGBUILD 2018-01-22 17:26:14 UTC (rev 285012)
@@ -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.33
-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=('689164eaaf5c7016574036d8977a35bed58a7fbd2b178e8205a426116e5b94d0')
-
-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.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: hugo/repos/community-x86_64/PKGBUILD (from rev 285010, hugo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-22 17:26:14 UTC (rev 285012)
@@ -0,0 +1,40 @@
+# $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.34
+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=('4ba991d4de650a97ad51893ce707788b87190bf487f6b13ad88111540469787d')
+
+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.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list