aboutsummaryrefslogtreecommitdiff
blob: 413c3f99c339fcacadfcec113da749bb33909623 (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
# Copyright 1999-2024 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit linux-info

NAME="${PN}_lite_dwarfs.sh"

DESCRIPTION="Easy to use unprivileged Linux container packed in a single portable executable"
HOMEPAGE="https://github.com/Kron4ek/Conty"
SRC_URI="https://github.com/Kron4ek/Conty/releases/download/${PV}/${NAME} -> ${P}"

S="${WORKDIR}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RESTRICT="strip"

RDEPEND="sys-fs/fuse:0"

QA_PREBUILT="*"

CONFIG_CHECK="
	IA32_EMULATION
	USER_NS
"

src_install() {
	dobin "${DISTDIR}/${P}"
}

pkg_postinst() {
	einfo "How to use: $ ${NAME} [command] [command_arguments]"
	einfo "For example: ${NAME} steam"
	einfo "or"
	einfo "WINEPREFIX=$HOME/wine-conty ${NAME} gamescope -f -- wine ./game.exe"

}