23 lines
362 B
Bash
23 lines
362 B
Bash
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
|
|
}
|