[arch-commits] Commit in hugo/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Thu Aug 2 20:42:51 UTC 2018
Date: Thursday, August 2, 2018 @ 20:42:50
Author: jlichtblau
Revision: 367469
archrelease: copy trunk to community-x86_64
Added:
hugo/repos/community-x86_64/PKGBUILD
(from rev 367468, hugo/trunk/PKGBUILD)
Deleted:
hugo/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-02 20:42:39 UTC (rev 367468)
+++ PKGBUILD 2018-08-02 20:42:50 UTC (rev 367469)
@@ -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.45.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-pie' 'git')
-optdepends=('pygmentize: syntax-highlight code snippets')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gohugoio/${pkgname}/archive/v${pkgver}.tar.gz)
-sha256sums=('4d8be74015fcc0be56d7a1d719b8b4900973e1e8ad4da9c9867c4c003f95ccfc')
-
-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 367468, hugo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-02 20:42:50 UTC (rev 367469)
@@ -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.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"
+}
More information about the arch-commits
mailing list