diff options
Diffstat (limited to 'app-emulation/img/img-0.4.6.ebuild')
-rw-r--r-- | app-emulation/img/img-0.4.6.ebuild | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/app-emulation/img/img-0.4.6.ebuild b/app-emulation/img/img-0.4.6.ebuild deleted file mode 100644 index 00b9e9fe0d17..000000000000 --- a/app-emulation/img/img-0.4.6.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/img" -EGIT_COMMIT="v${PV}" -GIT_COMMIT="9c9f6f6fa351ddf9afd6a39cdb1a44ab290dd6a3" -ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64" - -DESCRIPTION="Standalone daemon-less unprivileged Dockerfile and OCI container image builder" -HOMEPAGE="https://github.com/genuinetools/img" -SRC_URI="${ARCHIVE_URI}" -LICENSE="MIT" -SLOT="0" -IUSE="seccomp" - -RESTRICT="test" - -src_compile() { - local TAGS=$(usex seccomp 'seccomp' '') - pushd src/${EGO_PN} || die - GOPATH="${S}" go build -tags "noembed ${TAGS}" -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/img . || die - popd || die -} - -src_install() { - dobin bin/* - dodoc -r src/${EGO_PN}/README.md -} |