blob: 96b90fe37ebc8df0c25d3fab237f05126bda9a72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Copyright 2026 Gurov <thuggerthugger1@duck.com>
# Distributed under the terms of the GNU General Public License v2
SUMMARY="Use any Linux distribution inside your terminal"
HOMEPAGE="
https://distrobox.it/
https://github.com/89luca89/distrobox
"
DOWNLOADS="
https://github.com/89luca89/distrobox/archive/refs/tags/${PV}.tar.gz
-> ${PNV}.tar.gz
"
LICENCES="GPL-3"
SLOT="0"
PLATFORMS="~amd64"
MYOPTIONS="
gui [[
description = [ Install Distrobox's desktop icons ]
]]
"
DEPENDENCIES="
run:
|| (
app-virtualization/podman
app-virtualization/docker-cli
)
"
src_install() {
dobin distrobox*
doman man/man1/*
insinto /usr/share/bash-completion/completions
doins completions/bash/*
insinto /usr/share/zsh/site-functions
doins completions/zsh/*
if option gui; then
insinto /usr/share/icons/hicolor/scalable/apps
doins icons/terminal-distrobox-icon.svg
local size
for size in 16 22 24 32 36 48 64 72 96 128 256; do
insinto "/usr/share/icons/hicolor/${size}x${size}/apps"
doins "icons/hicolor/${size}x${size}/apps/terminal-distrobox-icon.png"
done
fi
}
|