mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
42 lines
795 B
Bash
42 lines
795 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# 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"
|
|
|
|
}
|