mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
29 lines
627 B
Bash
29 lines
627 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit elisp
|
|
|
|
DESCRIPTION="HTML-ize font-lock buffers in Emacs"
|
|
HOMEPAGE="https://www.emacswiki.org/emacs/Htmlize
|
|
https://github.com/hniksic/emacs-htmlize"
|
|
|
|
if [[ "${PV}" == *9999* ]] ; then
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://github.com/hniksic/emacs-${PN}"
|
|
else
|
|
SRC_URI="https://github.com/hniksic/emacs-${PN}/archive/release/${PV}.tar.gz
|
|
-> ${P}.tar.gz"
|
|
S="${WORKDIR}/${PN}-release-${PV}"
|
|
|
|
KEYWORDS="amd64 ppc x86"
|
|
fi
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
|
|
DOCS=( README.md NEWS )
|
|
SITEFILE="50${PN}-gentoo.el"
|