commit:     6361dffe0d735593e4dcccfc6a43af7a82346cad
Author:     Anna Vyalkova <cyber <AT> sysrq <DOT> in>
AuthorDate: Thu Apr 15 12:46:55 2021 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Apr 15 12:47:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6361dffe

net-misc/gemget: build without makefile

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Anna Vyalkova <cyber <AT> sysrq.in>

 net-misc/gemget/gemget-1.8.0.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/net-misc/gemget/gemget-1.8.0.ebuild 
b/net-misc/gemget/gemget-1.8.0.ebuild
index a10ed6c00..c0debbaeb 100644
--- a/net-misc/gemget/gemget-1.8.0.ebuild
+++ b/net-misc/gemget/gemget-1.8.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit go-module toolchain-funcs
+inherit go-module
 
 DESCRIPTION="Command line downloader for the Gemini protocol"
 HOMEPAGE="https://github.com/makeworld-the-better-one/gemget";
@@ -51,11 +51,10 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 
 src_compile() {
-       emake VERSION="${PV}" COMMIT="unknown"
+       go build -o ${PN} -ldflags="-s -w" || die
 }
 
 src_install() {
-       mkdir -p "${D}${EPREFIX}/usr/bin"
-       emake PREFIX="${D}${EPREFIX}/usr" install
+       dobin ${PN}
        dodoc README.md
 }

Reply via email to