From b11f532d85ba9cfcea1503a85246b19d35419295 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Tue, 10 Sep 2024 19:24:49 +0000 Subject: Adding metadata --- dev-util/gitlab-cli/gitlab-cli-1.46.0.ebuild | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 dev-util/gitlab-cli/gitlab-cli-1.46.0.ebuild (limited to 'dev-util/gitlab-cli/gitlab-cli-1.46.0.ebuild') diff --git a/dev-util/gitlab-cli/gitlab-cli-1.46.0.ebuild b/dev-util/gitlab-cli/gitlab-cli-1.46.0.ebuild new file mode 100644 index 000000000000..4a336d97ac9f --- /dev/null +++ b/dev-util/gitlab-cli/gitlab-cli-1.46.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module +GIT_COMMIT=16dc43a8f0ae5c8c5310891117efaadfaa5743aa + +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" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# tests communicate with gitlab.com and require a personal access token +RESTRICT="test" + +S="${WORKDIR}/cli-v${PV}-${GIT_COMMIT}" + +src_compile() { + emake \ + GLAB_VERSION=v${PV} \ + build manpage +} + +src_install() { + dobin bin/glab + dodoc README.md + doman share/man/man1/* +} -- cgit v1.3