mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -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
2
dev-util/hut/Manifest
Normal file
2
dev-util/hut/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST hut-0.3.0-vendor.tar.xz 863500 BLAKE2B 2bf717be5d75ba7e0007049d320cca8350d9d7fa53e2408c5a5ea73ec20916844322c84292b23dd6dd97d925590942ded57daf598216a6d2376242050ef3a571 SHA512 b55a5a45619da43d435c4a59f3a9518c7e9509840cfe7583a270a9ef00342f2870c169cd14b097afc6ed8635740b73b2f149d5c3f20f8f964c70442ecb7bf763
|
||||
DIST hut-0.3.0.tar.gz 116316 BLAKE2B 68400bfa7e7aa90ee4dfd5d9b2a8f6b4d09ef12103fab07b11abab3d9a99d777c11c8a7fde46228c33b73b65467cbe75db77800e428d17dbf21ba00564a2773b SHA512 41e84329b6d35df1abeca2a84352bd0bafaa7d05e7b36ff106d1c297e021dbc7beddd70c43ebfa02f48bad250469917879ee221a7983d132de8a56bc44e9a26b
|
||||
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}"
|
||||
}
|
||||
15
dev-util/hut/metadata.xml
Normal file
15
dev-util/hut/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>alexis.praga@proton.me</email>
|
||||
<name>Alexis Praga</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourcehut">~emersion/hut</remote-id>
|
||||
<remote-id type="github">apraga/hut-vendor</remote-id>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
Hut is a command-line tool to interact with sourcehut. It can manage git repositories, builds, publish to pages and pastes.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user