# Copyright 2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit git-r3 go-module DESCRIPTION="TUI for SSH" HOMEPAGE="https://github.com/quantumsheep/sshs" EGIT_REPO_URI="https://github.com/quantumsheep/sshs.git" RESTRICT="network-sandbox strip" LICENSE="MIT GPL-3+ Apache-2.0 BSD" SLOT="0" IUSE="" KEYWORDS="~amd64 ~arm64 ~x86" src_unpack() { git-r3_src_unpack go-module_live_vendor } src_compile() { export CGO_ENABLED=0 emake PREFIX="${EPREFIX}/usr" } src_install() { emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install }