# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=9 inherit elisp MY_PN="emacs-${PN}" COMMIT="6c706d90902a186a2260d380d69460da4cdc61cb" DESCRIPTION="Poorly drawn ASCII cartoons saying things" HOMEPAGE="https://github.com/lassik/emacs-cowsay" SRC_URI="https://github.com/lassik/${MY_PN}/archive/${COMMIT}.tar.gz -> ${MY_PN}-${PV}.tar.gz" S="${WORKDIR}/${MY_PN}-${COMMIT}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" PATCHES=( "${FILESDIR}/${P}-fix-warnings.patch" ) SITEFILE="50${PN}-gentoo.el" src_install() { elisp-install ${PN} cowsay.{el,elc} elisp-site-file-install "${FILESDIR}/${SITEFILE}" insinto "${SITEETC}/${PN}" doins -r cows dodoc README.md }