diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-08-22 06:12:14 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-08-22 06:12:14 +0000 |
| commit | b02bc24840b1a1bf5b02d47929015c902c05ad63 (patch) | |
| tree | c461eedbf77ed5f98322a24ad55c9619aa4072a0 /dev-util/gitlab-cli/gitlab-cli-1.32.0.ebuild | |
| parent | d415ee6e0c05ca5e407d7bc9d5a8dc27a62d06b8 (diff) | |
| download | srcux-b02bc24840b1a1bf5b02d47929015c902c05ad63.tar.gz srcux-b02bc24840b1a1bf5b02d47929015c902c05ad63.tar.xz srcux-b02bc24840b1a1bf5b02d47929015c902c05ad63.zip | |
Adding metadata
Diffstat (limited to 'dev-util/gitlab-cli/gitlab-cli-1.32.0.ebuild')
| -rw-r--r-- | dev-util/gitlab-cli/gitlab-cli-1.32.0.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-util/gitlab-cli/gitlab-cli-1.32.0.ebuild b/dev-util/gitlab-cli/gitlab-cli-1.32.0.ebuild new file mode 100644 index 000000000000..0ea07f8b73f6 --- /dev/null +++ b/dev-util/gitlab-cli/gitlab-cli-1.32.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=9fdb6193c89e86786707279c16472632665f4918 + +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/* +} |
