# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit systemd tmpfiles DESCRIPTION="Tools to aid administering Gentoo systems, like silent automatic updates" HOMEPAGE="https://github.com/Flowdalic/gentools" if [[ "${PV}" == "9999" ]] || [[ -n "${EGIT_COMMIT_ID}" ]]; then EGIT_REPO_URI="https://github.com/Flowdalic/gentools.git" inherit git-r3 else SRC_URI="https://github.com/Flowdalic/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" fi LICENSE="GPL-3" SLOT="0" RDEPEND=" app-admin/eclean-kernel app-portage/eix app-portage/gentoolkit sys-devel/bc " src_compile() { : } src_install() { emake \ DESTDIR="${D}" \ PREFIX="${EPREFIX}" \ SYSTEMD_SYSTEM_UNIT_DIR=$(systemd_get_systemunitdir) \ install } pkg_postinst() { tmpfiles_process update-system.conf }