diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-11 14:02:18 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-11 14:02:18 +0000 |
| commit | dfeb225b9128c9482c36c4858b674ccedf8e7dc8 (patch) | |
| tree | 5fa8b332ada4d0da7142238f4576ac747d179ade /dev-util/gitlab-cli/gitlab-cli-1.25.3.ebuild | |
| parent | 859e20e6bba07bbd63855a1cf2e4c28bfd66f853 (diff) | |
| download | srcux-dfeb225b9128c9482c36c4858b674ccedf8e7dc8.tar.gz srcux-dfeb225b9128c9482c36c4858b674ccedf8e7dc8.tar.xz srcux-dfeb225b9128c9482c36c4858b674ccedf8e7dc8.zip | |
Adding metadata
Diffstat (limited to 'dev-util/gitlab-cli/gitlab-cli-1.25.3.ebuild')
| -rw-r--r-- | dev-util/gitlab-cli/gitlab-cli-1.25.3.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-util/gitlab-cli/gitlab-cli-1.25.3.ebuild b/dev-util/gitlab-cli/gitlab-cli-1.25.3.ebuild new file mode 100644 index 000000000000..461cbd9de31a --- /dev/null +++ b/dev-util/gitlab-cli/gitlab-cli-1.25.3.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=7ab3ef14820c565a9430fa0da58a491048699638 + +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/* +} |
