gentoo/dev-util/gitlab-cli/gitlab-cli-1.57.0.ebuild
William Hubbs 21833cbbb3
dev-util/gitlab-cli: avoid warnings about pre-stripped binaries
Closes: https://bugs.gentoo.org/960262
Signed-off-by: William Hubbs <williamh@gentoo.org>
2025-08-07 10:03:56 -05:00

34 lines
794 B
Bash

# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
GIT_COMMIT=d14f47ce8f09549daf116e347cd1c2987aa14bbb
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"
S="${WORKDIR}/cli-v${PV}-${GIT_COMMIT}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
# tests communicate with gitlab.com and require a personal access token
RESTRICT="test"
QA_PRESTRIPPED=usr/bin/glab
src_compile() {
emake \
GLAB_VERSION=v${PV} \
build manpage
}
src_install() {
dobin bin/glab
dodoc README.md
doman share/man/man1/*
}