Files
guru/app-admin/agru/agru-0.1.20.ebuild
2026-05-13 17:49:39 -04:00

31 lines
587 B
Bash

# 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.25.0"
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
}