summaryrefslogtreecommitdiff
path: root/dev-util/gitlab-cli/gitlab-cli-1.55.0.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-04-17 06:58:11 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-04-17 06:58:11 +0000
commitc459f59ce8bbbccf643cb28a295920a574f3c2eb (patch)
treedcf9bc3fbc07ba801c49deaf31bc7f8afcaac0ad /dev-util/gitlab-cli/gitlab-cli-1.55.0.ebuild
parent0ade6675fecfb65b4292f5603be2e68a50a3c4a1 (diff)
downloadsrcux-c459f59ce8bbbccf643cb28a295920a574f3c2eb.tar.gz
srcux-c459f59ce8bbbccf643cb28a295920a574f3c2eb.tar.xz
srcux-c459f59ce8bbbccf643cb28a295920a574f3c2eb.zip
Adding metadata
Diffstat (limited to 'dev-util/gitlab-cli/gitlab-cli-1.55.0.ebuild')
-rw-r--r--dev-util/gitlab-cli/gitlab-cli-1.55.0.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-util/gitlab-cli/gitlab-cli-1.55.0.ebuild b/dev-util/gitlab-cli/gitlab-cli-1.55.0.ebuild
new file mode 100644
index 000000000000..b325905f2e7c
--- /dev/null
+++ b/dev-util/gitlab-cli/gitlab-cli-1.55.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=a806d3d2ae8515ca43be48a83598c04bb71c9328
+
+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/*
+}