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

EAPI=7

inherit git-r3

DESCRIPTION="Local Linux enumeration and privilege escalation checker"
HOMEPAGE="https://github.com/rebootuser/LinEnum"

EGIT_REPO_URI="https://github.com/rebootuser/LinEnum"
if [[ ${PV} != *9999 ]]; then
	EGIT_COMMIT="c47f9b226d3ce2848629f25fe142c1b2986bc427"
	KEYWORDS="amd64 x86"
fi

LICENSE="MIT"
SLOT="0"

src_install() {
	insinto /usr/share/LinEnum
	doins LinEnum.sh

	dodoc *.md
}
