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

EAPI=8

DESCRIPTION="Easy to use unprivileged Linux container packed in a single portable executable"
HOMEPAGE="https://github.com/Kron4ek/Conty"

inherit linux-info

SRC_URI="https://github.com/Kron4ek/Conty/releases/download/${PV}/${PN}_lite_dwarfs.sh"
KEYWORDS="~amd64"

LICENSE="MIT"
SLOT="0"
RESTRICT="strip"

RDEPEND="sys-fs/fuse:0"

S="${WORKDIR}"

QA_PREBUILT="*"

CONFIG_CHECK="IA32_EMULATION"

src_install() {
	dobin "${DISTDIR}/${PN}_lite_dwarfs.sh"
}

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

}