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

EAPI=8

SRC_URI="https://codeberg.org/mmatous/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
DESCRIPTION="Manage the ld symlink"
HOMEPAGE="https://codeberg.org/mmatous/eselect-ld"
LICENSE="GPL-3"
SLOT="0"
RESTRICT="mirror"

RDEPEND="app-admin/eselect"

S="${WORKDIR}/${PN}"

src_install() {
	default
	insinto /usr/share/eselect/modules
	doins ld.eselect
}
