This commit is contained in:
2023-05-06 08:23:33 +02:00
committed by Olivier van der Toorn
parent 87be7d99ef
commit 362a4016d2
3 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,22 @@
EAPI=8
inherit unpacker
DESCRIPTION="Gitlab CLI tool"
HOMEPAGE="https://gitlab.com/gitlab-org/cli"
SRC_URI="https://gitlab.com/gitlab-org/cli/-/releases/v${PV}/downloads/glab_${PV}_Linux_x86_64.deb"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
src_unpack() {
unpack_deb ${A}
}
src_install() {
insinto /
doins -r usr
fperms a+x /usr/bin/glab
}