app-misc/fx - 39.2.0 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =app-misc/fx-39.2.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-misc/fx-39.2.0

Or alternatively:

emerge --autounmask-write -a =app-misc/fx-39.2.0

Package Information

Description:
Terminal JSON viewer.
Homepage:
https://fx.wtf
License:
Apache-2.0 BSD-2 BSD MIT MPL-2.0

Ebuild Details

Version EAPI Keywords Slot
39.2.0 8 ~amd64 ~ppc64 0
View Raw Ebuild
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit go-module

MY_PV=$(ver_rs 3 -)
DESCRIPTION="Terminal JSON viewer."
HOMEPAGE="https://fx.wtf"
SRC_URI="https://github.com/antonmedv/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/Tatsh/tatsh-overlay/releases/download/__distfiles__/${P}-vendor.tar.xz"

S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="Apache-2.0 BSD-2 BSD MIT MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc64"
RESTRICT="mirror"

src_compile() {
	go build . || die
}

src_test() {
	go test ./... || die
}

src_install() {
	dobin "${PN}"
	einstalldocs
}

Inherited Eclasses

Manifest for 39.2.0

Type File Size Source URLs
DIST fx-39.2.0-vendor.tar.xz 2561144 bytes https://github.com/Tatsh/tatsh-overlay/releases/download/__distfiles__/fx-39.2.0-vendor.tar.xz
DIST fx-39.2.0.tar.gz 2709811 bytes https://github.com/antonmedv/fx/archive/refs/tags/39.2.0.tar.gz