diff options
Diffstat (limited to 'dev-go/goversion')
-rw-r--r-- | dev-go/goversion/Manifest | 3 | ||||
-rw-r--r-- | dev-go/goversion/goversion-1.2.0.ebuild | 29 | ||||
-rw-r--r-- | dev-go/goversion/metadata.xml | 11 |
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-go/goversion/Manifest b/dev-go/goversion/Manifest new file mode 100644 index 000000000000..9a545b3a41a0 --- /dev/null +++ b/dev-go/goversion/Manifest @@ -0,0 +1,3 @@ +DIST goversion-1.2.0.tar.gz 8586 BLAKE2B 76001c1ebbf55bf742a20f7434d7b28da3aaa8e24e2cb6d14c182192735d16184aabbfc47aedb5872ed2610c81c4e6d637f425597cebaacbbd7095f18cd715f4 SHA512 27a8ebe71679c9161556c8aa49356c2da54c7e7b3bf580aa18518e49bb919ea836a9958ae9fc8fdc86c3750afc900d6e1c17d87dea406366467a6ea9c8ed8931 +EBUILD goversion-1.2.0.ebuild 668 BLAKE2B add958badbe000255239501c3d772742b4de8eac1f0ae855becd01c37f2621ffa011b4c763072813855a84101a40bb8087cbc10e41212128d8593229daa332df SHA512 5e29999f85b32534e8cee9a0bd439e1ec37a745826f4e603c177470b2f36a1419b19aa349e630eccfd8c694a644edc9c6a9d5d9fc162f3b4ea693dec062d66ea +MISC metadata.xml 323 BLAKE2B 9a51452937358bf5286291301e1400dc0dab1010c14e412e21cf6d9a8d09241e848e4da3294e119b8c07802332a9f55336520c5f3469d29c6d77caafdbb85d56 SHA512 892eefa27510dcdf800040cecf45163b91bc77e37dc152ba4756b682efc240a6ac062fd36569a9a0542390dc32776e400607533174077fc1597f139a37b84d11 diff --git a/dev-go/goversion/goversion-1.2.0.ebuild b/dev-go/goversion/goversion-1.2.0.ebuild new file mode 100644 index 000000000000..d4c4b0f2d3b3 --- /dev/null +++ b/dev-go/goversion/goversion-1.2.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGO_PN="rsc.io/goversion" + +inherit golang-build golang-vcs-snapshot bash-completion-r1 +ARCHIVE_URI="https://github.com/rsc/goversion/archive/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="Print version used to build Go executables" +HOMEPAGE="https://github.com/rsc/goversion https://rsc.io/goversion" +SRC_URI="${ARCHIVE_URI}" + +LICENSE="BSD" +SLOT="0" +IUSE="" + +src_compile() { + pushd src/${EGO_PN} || die + GOPATH="${S}" go build -o ${PN} . || die + popd || die +} + +src_install() { + dobin src/${EGO_PN}/${PN} + dodoc src/${EGO_PN}/README.md +} diff --git a/dev-go/goversion/metadata.xml b/dev-go/goversion/metadata.xml new file mode 100644 index 000000000000..a313636a34dc --- /dev/null +++ b/dev-go/goversion/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mrueg@gentoo.org</email> + <name>Manuel RĂ¼ger</name> + </maintainer> + <upstream> + <remote-id type="github">rsc/goversion</remote-id> + </upstream> +</pkgmetadata> |