# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 MY_PN="grml-etc-core" DESCRIPTION="Grmls core configuration files for zsh" HOMEPAGE="https://grml.org/zsh/" SRC_URI="https://github.com/grml/grml-etc-core/archive/v${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" RESTRICT="binchecks strip test" BDEPEND="app-text/txt2tags" RDEPEND="app-shells/zsh" DOCS=( README.md debian/changelog ) src_compile() { emake -C "${S}/doc" } src_install() { einstalldocs insinto /etc doins -r etc/zsh insinto /etc/skel doins etc/skel/.zshrc doman "doc/${PN}.5" insinto /usr/share/grml doins -r usr_share_grml/zsh }