diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-03-29 01:14:48 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-03-29 01:14:48 +0000 |
| commit | c8f45231f94156664389f13688eb131370e54017 (patch) | |
| tree | 1abe68fac4687d3e1ba340f547ef1b70cb2e0c7f /dev-util/gitlab-cli/gitlab-cli-1.26.0.ebuild | |
| parent | e9b322e33efb88c425004b3f35f5ec2bce056562 (diff) | |
| download | srcux-c8f45231f94156664389f13688eb131370e54017.tar.gz srcux-c8f45231f94156664389f13688eb131370e54017.tar.xz srcux-c8f45231f94156664389f13688eb131370e54017.zip | |
Adding metadata
Diffstat (limited to 'dev-util/gitlab-cli/gitlab-cli-1.26.0.ebuild')
| -rw-r--r-- | dev-util/gitlab-cli/gitlab-cli-1.26.0.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-util/gitlab-cli/gitlab-cli-1.26.0.ebuild b/dev-util/gitlab-cli/gitlab-cli-1.26.0.ebuild new file mode 100644 index 000000000000..ff656b6ec855 --- /dev/null +++ b/dev-util/gitlab-cli/gitlab-cli-1.26.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module +GIT_COMMIT=ef363646f539ed785d29e2b07c20b5f8f00c4d45 + +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-${GIT_COMMIT}" + +src_compile() { + emake \ + GLAB_VERSION=v${PV} \ + build manpage +} + +src_install() { + dobin bin/glab + dodoc README.md + doman share/man/man1/* +} |
