From d6d1505980b0e18ee7b3e780aeafbadb4bc2e5ed Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 3 Jul 2019 10:20:41 +1000 Subject: [PATCH] www-apps/hugo-bin: initial import of the binary hugo release --- www-apps/hugo-bin/Manifest | 2 ++ www-apps/hugo-bin/hugo-bin-0.55.6.ebuild | 31 ++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 www-apps/hugo-bin/Manifest create mode 100644 www-apps/hugo-bin/hugo-bin-0.55.6.ebuild diff --git a/www-apps/hugo-bin/Manifest b/www-apps/hugo-bin/Manifest new file mode 100644 index 0000000..92af21b --- /dev/null +++ b/www-apps/hugo-bin/Manifest @@ -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 diff --git a/www-apps/hugo-bin/hugo-bin-0.55.6.ebuild b/www-apps/hugo-bin/hugo-bin-0.55.6.ebuild new file mode 100644 index 0000000..723e555 --- /dev/null +++ b/www-apps/hugo-bin/hugo-bin-0.55.6.ebuild @@ -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 +}