diff options
Diffstat (limited to 'app-emulation/reg/reg-0.15.4.ebuild')
-rw-r--r-- | app-emulation/reg/reg-0.15.4.ebuild | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/app-emulation/reg/reg-0.15.4.ebuild b/app-emulation/reg/reg-0.15.4.ebuild deleted file mode 100644 index 2695cd240b3f..000000000000 --- a/app-emulation/reg/reg-0.15.4.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit golang-build golang-vcs-snapshot - -EGO_PN="github.com/genuinetools/reg" -GIT_COMMIT="8c930c585418564a4ce472fbbfccb8c5741c2520" -ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64" - -DESCRIPTION="Docker registry v2 command line client" -HOMEPAGE="https://github.com/genuinetools/reg" -SRC_URI="${ARCHIVE_URI}" -LICENSE="MIT" -SLOT="0" -IUSE="" - -RESTRICT="test" - -src_compile() { - pushd src/${EGO_PN} || die - GOPATH="${S}" go build -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/reg . || die - popd || die -} - -src_install() { - dobin bin/* - dodoc src/${EGO_PN}/README.md - insinto /usr/share/${PN} - doins -r src/${EGO_PN}/server/* -} |