portage/net-misc/sshs/sshs-9999.ebuild
2023-11-08 21:11:28 +01:00

31 lines
573 B
Bash

# 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() {
emake PREFIX="${EPREFIX}/usr"
}
src_install() {
emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install
}