summaryrefslogtreecommitdiff
path: root/dev-util/gitlab-cli/gitlab-cli-1.57.0.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-05-19 18:57:15 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-05-19 18:57:15 +0000
commit5dc3ed247f2e7cbdb892ec7b8b86842a20ed0207 (patch)
tree59ed4252b6b61d330b00d0ab64d5db66d38d7080 /dev-util/gitlab-cli/gitlab-cli-1.57.0.ebuild
parent13f9cec217411924fb3fdebaffd66c722b9a1179 (diff)
downloadsrcux-5dc3ed247f2e7cbdb892ec7b8b86842a20ed0207.tar.gz
srcux-5dc3ed247f2e7cbdb892ec7b8b86842a20ed0207.tar.xz
srcux-5dc3ed247f2e7cbdb892ec7b8b86842a20ed0207.zip
Adding metadata
Diffstat (limited to 'dev-util/gitlab-cli/gitlab-cli-1.57.0.ebuild')
-rw-r--r--dev-util/gitlab-cli/gitlab-cli-1.57.0.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-util/gitlab-cli/gitlab-cli-1.57.0.ebuild b/dev-util/gitlab-cli/gitlab-cli-1.57.0.ebuild
new file mode 100644
index 000000000000..80cc1700e7d0
--- /dev/null
+++ b/dev-util/gitlab-cli/gitlab-cli-1.57.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+GIT_COMMIT=d14f47ce8f09549daf116e347cd1c2987aa14bbb
+
+DESCRIPTION="the official gitlab command line interface"
+HOMEPAGE="https://gitlab.com/gitlab-org/cli"
+SRC_URI="https://gitlab.com/gitlab-org/cli/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+S="${WORKDIR}/cli-v${PV}-${GIT_COMMIT}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# tests communicate with gitlab.com and require a personal access token
+RESTRICT="test"
+
+src_compile() {
+ emake \
+ GLAB_VERSION=v${PV} \
+ build manpage
+}
+
+src_install() {
+ dobin bin/glab
+ dodoc README.md
+ doman share/man/man1/*
+}