dev-util/hut - 0.7.0 (guru)

Search

Install

Install this version:

emerge -a =dev-util/hut-0.7.0

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

autounmask =dev-util/hut-0.7.0

Or alternatively:

emerge --autounmask-write -a =dev-util/hut-0.7.0

Package Information

Description:
CLI tool for sourcehut
Homepage:
https://sr.ht/~xenrox/hut/
License:
AGPL-3

Ebuild Details

Version EAPI Keywords Slot
0.7.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="CLI tool for sourcehut"

HOMEPAGE="https://sr.ht/~xenrox/hut/"

SRC_URI="https://git.sr.ht/~xenrox/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://git.sr.ht/~xenrox/${PN}/refs/download/v${PV}/${PN}-v${PV}-vendor.tar.xz -> ${P}-vendor.tar.xz"

S="${WORKDIR}/hut-v${PV}"

LICENSE="AGPL-3"
SLOT="0"

KEYWORDS="~amd64"

BDEPEND="app-text/scdoc"

src_unpack() {
	default
	mv hut/vendor "${S}" || die
}

src_compile() {
	ego build
	emake doc/hut.1 completions
}

src_install() {
	dobin hut
	emake install PREFIX="${EPREFIX}/usr" DESTDIR="${D}"
}

Inherited Eclasses

Dependencies

BDEPEND

app-text/scdoc

Manifest for 0.7.0

Type File Size Source URLs
DIST hut-0.7.0-vendor.tar.xz 640500 bytes https://git.sr.ht/~xenrox/hut/refs/download/v0.7.0/hut-v0.7.0-vendor.tar.xz
DIST hut-0.7.0.tar.gz 149392 bytes https://git.sr.ht/~xenrox/hut/archive/v0.7.0.tar.gz