diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2019-11-23 12:09:57 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2019-11-23 12:09:57 +0100 |
commit | f1425726d767f6e772350a74c86a2e5165379f8e (patch) | |
tree | eac44275d7250b9fa623cd1e4fec0b153893de9b /app-emulation/reg/reg-0.16.0.ebuild | |
parent | sys-process/tini: Drop myself as a maintainer (diff) | |
download | gentoo-f1425726d767f6e772350a74c86a2e5165379f8e.tar.gz gentoo-f1425726d767f6e772350a74c86a2e5165379f8e.tar.bz2 gentoo-f1425726d767f6e772350a74c86a2e5165379f8e.zip |
app-emulation/reg: Remove old
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Diffstat (limited to 'app-emulation/reg/reg-0.16.0.ebuild')
-rw-r--r-- | app-emulation/reg/reg-0.16.0.ebuild | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/app-emulation/reg/reg-0.16.0.ebuild b/app-emulation/reg/reg-0.16.0.ebuild deleted file mode 100644 index 2268e22b2171..000000000000 --- a/app-emulation/reg/reg-0.16.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit golang-build golang-vcs-snapshot user - -EGO_PN="github.com/genuinetools/reg" -GIT_COMMIT="4a4d0e5d108ca9558879bdf1aba94d09e921cf1e" -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" - -pkg_setup() { - enewgroup reg - enewuser reg -1 -1 /var/lib/reg reg -} - -src_prepare() { - pushd src/${EGO_PN} || die - default - popd || die -} - -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 /var/lib/${PN} - doins -r src/${EGO_PN}/server/* - newinitd "${FILESDIR}"/reg.initd reg - newconfd "${FILESDIR}"/reg.confd reg - - keepdir /var/log/reg - fowners -R reg:reg /var/log/reg /var/lib/reg/static -} |