mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
app-containers/distrobox: bump to 1.8.2.6
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST distrobox-1.8.2.5.gh.tar.gz 2047489 BLAKE2B 5fa251eb0fbfcfc24f4e123fbbe891a312a3bf4ed852f379b88c7f5bb9c59de6e908aae13e66788404edf92717bff41aa1e26d4e0e8b1ceb5c338d8fa82334a6 SHA512 f4dcd9a2edd2db8de6af50e3b6df4e43e793d9baff28529879dcbe3a05cbebf8ad02bef1c8a6b8951c9855e82e6991bd17a8cf2025e1ca285b7dbe80396b1da6
|
||||
DIST distrobox-1.8.2.6.gh.tar.gz 2047729 BLAKE2B dfe535da429c98610adef6458abd48c8bdcd90c870ed58a97bb2835deb8f501e252098e29c8a16e1124aadabdd40df8a47f0b869ff7a341eb2a579b761b01d91 SHA512 231a98fb38e1e39b10747acc11ccf25c0631b72735aab802a2e4769902fba04629b0e74b9a044a909b481f30a026fb4278f0d398d343fc972303a4987ccfb757
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit xdg-utils
|
||||
|
||||
DESCRIPTION="Use any Linux distribution inside your terminal (powered by docker/podman)"
|
||||
HOMEPAGE="https://distrobox.it/
|
||||
https://github.com/89luca89/distrobox/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/89luca89/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/89luca89/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3" # GPL-3.0-only !
|
||||
SLOT="0"
|
||||
IUSE="gui"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
app-containers/docker
|
||||
app-containers/podman
|
||||
)
|
||||
"
|
||||
|
||||
src_install() {
|
||||
sh ./install --prefix "${ED}/usr" || die "${PN} install script failed"
|
||||
|
||||
if use gui ; then
|
||||
:
|
||||
else
|
||||
rm -r "${ED}/usr/share/icons" || die
|
||||
fi
|
||||
|
||||
dodoc *.md
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use gui ; then
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use gui ; then
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user