1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-01-08 06:44:12 +01:00

Bump vboxmanage version

This commit is contained in:
2022-10-08 09:36:27 +02:00
parent e6eb6cbbfc
commit ac7aa9b474
3 changed files with 47 additions and 4 deletions

View File

@@ -0,0 +1,33 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit bash-completion-r1
DESCRIPTION="VBoxManage bash completion"
HOMEPAGE="https://github.com/gryf/vboxmanage-bash-completion"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/gryf/vboxmanage-bash-completion"
KEYWORDS="~amd64"
else
SRC_URI="https://github.com/gryf/vboxmanage-bash-completion/archive/refs/tags/${PV}.tar.gz"
KEYWORDS="amd64 x86"
S="${WORKDIR}/vboxmanage-bash-completion-${PV}"
fi
LICENSE="BSD"
SLOT="0"
DEPEND="app-emulation/virtualbox"
RDEPEND="${DEPEND}"
BDEPEND=""
src_install() {
cd ${S}
mv VBoxManage VBoxManage_completion
newbashcomp VBoxManage_completion VBoxManage
bashcomp_alias VBoxManage vboxmanage
}