www-apps/hugo-bin: initial import of the binary hugo release

This commit is contained in:
Danny Robson 2019-07-03 10:20:41 +10:00
parent b7cfdc0ebc
commit d6d1505980
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST hugo_0.55.6_Linux-64bit.tar.gz 8459929 BLAKE2B 7d274b9bb98466644cdda68abfc1002ee0481eac83f406d3b2c81e16a8ffe0c0691f330f432ad2e2d5c655a2eada6801fb037b21b5022648a08c407ca675cda6 SHA512 5fd7c45631e7c395fb430bcc029999ef46303a13141c35a8fc84d85a05fc8586c4d45837f7b2c321ceef269bc0e5bbe567f93f301dc5eb13645e6516cf983914
EBUILD hugo-bin-0.55.6.ebuild 661 BLAKE2B fefb6bba848b08960b414c1907ee2519af8f475553f3c23e9b7a5cf53391461b02a63caaaf13520cd3b6509a7c2ea231097d7b580eb3f7ee43b4d17b5a7fd767 SHA512 09169a0c5cff63c111daa9ee52b037818a862d247da7dc35c53fa495e7e1b884003a8a406d56c268b5b0e52c04fa76b6edfd452c4933bc164551f398a5afe56e

View File

@ -0,0 +1,31 @@
# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="${PN/-bin/}"
DESCRIPTION="A Fast and Flexible Static Site Generator built with love in Go"
HOMEPAGE="https://gohugo.io https://github.com/gohugoio/hugo"
SRC_URI="https://github.com/gohugoio/hugo/releases/download/v${PV}/${MY_PN}_${PV}_Linux-64bit.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="!www-apps/hugo"
RDEPEND="${DEPEND}"
BDEPEND=""
QA_PRESTRIPPED="usr/bin/hugo"
src_unpack() {
mkdir "${WORKDIR}/${PF}" && cd "${WORKDIR}/${PF}" && unpack ${A} || die
}
src_install() {
newbin hugo hugo
dodoc README.md
}