logo

overlay

My (experimental) gentoo overlay
commit: c9e1594a0c962c90266e2ffe03a621fed613873f
parent: 89f76120fb69cdaee5c27be6dc3f34543d055c0e
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 12 Dec 2019 02:31:17 +0100

dev-util/go-deblob: Use go-module.eclass

Diffstat:

Mdev-util/go-deblob/go-deblob-9999.ebuild14+++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/dev-util/go-deblob/go-deblob-9999.ebuild b/dev-util/go-deblob/go-deblob-9999.ebuild @@ -3,10 +3,13 @@ EAPI=7 -inherit git-r3 +EGO_PN="hacktivis.me/git/go-deblob" + +inherit git-r3 go-module DESCRIPTION="remove binary blobs from a directory" HOMEPAGE="https://hacktivis.me/git/go-deblob/" +# BSD: hacktivis.me/git/go-deblob, git.sr.ht/~sircmpwn/getopt LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~s390 ~sh ~sparc ~x86" @@ -14,8 +17,13 @@ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~s390 ~sh ~sparc ~x86" EGIT_REPO_URI="https://hacktivis.me/git/go-deblob.git" EGIT_MIN_CLONE_TYPE="single+tags" -DEPEND="dev-lang/go:0" -RDEPEND="${DEPEND}" +src_unpack() { + git-r3_src_unpack + + # Hotfix against go-module.eclass + mkdir "${S}/vendor" + go-module_live_vendor +} src_install() { emake DESTDIR="${D}" PREFIX="/usr" install