# Generated via: https://github.com/arran4/arrans_overlay/blob/main/.github/workflows/net-misc-termscp-bin-update.yaml EAPI=8 DESCRIPTION="Feature rich terminal file transfer tool" HOMEPAGE="https://termscp.veeso.dev" SRC_URI=" amd64? ( https://github.com/veeso/termscp/releases/download/v${PV}/termscp-v${PV}-x86_64-unknown-linux-gnu.tar.gz -> ${P}-termscp-v${PV}-x86_64-unknown-linux-gnu.tar.gz ) arm64? ( https://github.com/veeso/termscp/releases/download/v${PV}/termscp-v${PV}-aarch64-unknown-linux-gnu.tar.gz -> ${P}-termscp-v${PV}-aarch64-unknown-linux-gnu.tar.gz ) " LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64" IUSE="" REQUIRED_USE="" RDEPEND="net-fs/samba " S="${WORKDIR}" src_unpack() { if use amd64; then unpack "${DISTDIR}/${P}-termscp-v${PV}-x86_64-unknown-linux-gnu.tar.gz" || die "Can't unpack archive file" fi if use arm64; then unpack "${DISTDIR}/${P}-termscp-v${PV}-aarch64-unknown-linux-gnu.tar.gz" || die "Can't unpack archive file" fi } src_install() { exeinto /opt/bin if use amd64; then newexe "termscp" "termscp" || die "Failed to install Binary" fi if use arm64; then newexe "termscp" "termscp" || die "Failed to install Binary" fi }