summaryrefslogtreecommitdiff
path: root/app-admin/agru/agru-0.2.1.ebuild
blob: 33b522190139ed72af015f31891d45912b216c1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="A tool for managing GitLab groups and projects"
HOMEPAGE="https://github.com/etkecc/agru"

SRC_URI="
	https://github.com/etkecc/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	https://xwaretech.info/godeps/agru-${PV}-deps.tar.xz
"

BDEPEND=">=dev-lang/go-1.26"

LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"

src_compile() {
	cd "${S}/cmd/agru" || die
	ego build -o agru
}

src_install() {
	cd "${S}/cmd/agru" || die
	dobin agru
}