mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
dev-util/hut: new package, add 0.3.0
Signed-off-by: Alexis Praga <alexis.praga@proton.me>
This commit is contained in:
committed by
Alexis Praga
parent
22db5ba15a
commit
0082677050
38
dev-util/hut/hut-0.3.0.ebuild
Normal file
38
dev-util/hut/hut-0.3.0.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2023 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/~emersion/hut/"
|
||||
|
||||
SRC_URI="
|
||||
https://git.sr.ht/~emersion/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/apraga/hut-vendor/releases/download/v${PV}/hut-${PV}-vendor.tar.xz
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="app-text/scdoc"
|
||||
|
||||
src_compile() {
|
||||
ego build
|
||||
emake doc/hut.1 completions
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin hut
|
||||
emake install PREFIX="${EPREFIX}/usr" DESTDIR="${D}"
|
||||
}
|
||||
Reference in New Issue
Block a user