diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-01-30 21:02:23 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-01-30 21:02:23 +0000 |
| commit | ab07f7507f68e0549e23686ae0176a834e8cc13b (patch) | |
| tree | 14cb58a1f73c4083e83a00eb65d80bda0404e88e /dev-util/gitlab-cli/gitlab-cli-1.36.0.ebuild | |
| parent | 69c60b2f5328868c910f21e2c77758f55860fe32 (diff) | |
| download | srcux-ab07f7507f68e0549e23686ae0176a834e8cc13b.tar.gz srcux-ab07f7507f68e0549e23686ae0176a834e8cc13b.tar.xz srcux-ab07f7507f68e0549e23686ae0176a834e8cc13b.zip | |
Adding metadata
Diffstat (limited to 'dev-util/gitlab-cli/gitlab-cli-1.36.0.ebuild')
| -rw-r--r-- | dev-util/gitlab-cli/gitlab-cli-1.36.0.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-util/gitlab-cli/gitlab-cli-1.36.0.ebuild b/dev-util/gitlab-cli/gitlab-cli-1.36.0.ebuild new file mode 100644 index 000000000000..ab6e8625f0f9 --- /dev/null +++ b/dev-util/gitlab-cli/gitlab-cli-1.36.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=078e3f1dcb0cd48294f97ed2924b5149bc3874f6 + +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/* +} |
