# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="A tool for chrooting into other systems from a script"
HOMEPAGE="https://gitlab.com/masterwolf/chrooter"
SRC_URI="https://gitlab.com/masterwolf/chrooter/-/archive/${PV}/chrooter-${PV}.tar.bz2"

S="${WORKDIR}/chrooter-${PV}"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"

src_compile() {
make || die
}

src_install() {
dobin chrooter
}