# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 # Sources do not require Emacs of the specified version per se, # but still, maybe we should leave this check as is? # NEED_EMACS="26.1" ELPA_CONTAINER_KIND=tar inherit elpa # inherit elpa-src DESCRIPTION="Sources for dev-elisp/xr-${PV}.*" KEYWORDS="amd64 ~x86" SLOT="0" IUSE="test" # TODO: Emerging with use test is seemingly only possible with FEATURES=test # but that will test # but we want to be able to install sources even if tests fail. src_prepare() { if ! use test ; then rm ${PN}-test.el fi default rm -r .github } src_compile() { :; } src_install() { MYDIR="/usr/share/emacs/site-lisp/${PN}-${PV}" dodir "${MYDIR}" cp -a . "${ED}${MYDIR}"/ || die # default }