diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-06-06 15:17:09 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-06-06 15:17:09 +0000 |
| commit | e583827693e1469c3d1c48c52342a963c5a61c87 (patch) | |
| tree | 92a7c3e3dc132a4c381201c63db9688df7e08e4b /dev-util/gitlab-cli/gitlab-cli-1.41.0.ebuild | |
| parent | d97b52a1f0f276af33159bc75dc7a1c5e079ab1c (diff) | |
| download | srcux-e583827693e1469c3d1c48c52342a963c5a61c87.tar.gz srcux-e583827693e1469c3d1c48c52342a963c5a61c87.tar.xz srcux-e583827693e1469c3d1c48c52342a963c5a61c87.zip | |
Adding metadata
Diffstat (limited to 'dev-util/gitlab-cli/gitlab-cli-1.41.0.ebuild')
| -rw-r--r-- | dev-util/gitlab-cli/gitlab-cli-1.41.0.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-util/gitlab-cli/gitlab-cli-1.41.0.ebuild b/dev-util/gitlab-cli/gitlab-cli-1.41.0.ebuild new file mode 100644 index 000000000000..9f497a5929a8 --- /dev/null +++ b/dev-util/gitlab-cli/gitlab-cli-1.41.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=3657f322c1dabbbc3b6d31567df8d2c8adf16162 + +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/* +} |
