# Copyright 2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="A service manager that looks after the herd of system services" HOMEPAGE="https://www.gnu.org/software/shepherd/" SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 x86" DEPEND="dev-scheme/guile" RDEPEND="$DEPEND" src_install() { default # shepherd tries to install halt and reboot, along with their manpages rm -r "${D}/usr/sbin" || die rm -r "${D}/usr/share/man/man8" || die # this will prevent the creation of an empty directory in /var rm -r "${D}/var" || die }