blob: be9aa60e900653c87ff7848f6cf1b2f4cb27622f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NEED_EMACS=26.1
inherit elisp
DESCRIPTION="GNU Emacs all-the-icons integration for treemacs"
HOMEPAGE="https://github.com/Alexander-Miller/treemacs/"
SRC_URI="https://github.com/Alexander-Miller/treemacs/archive/${PV}.tar.gz
-> treemacs-${PV}.tar.gz"
S="${WORKDIR}"/treemacs-${PV}/src/extra
LICENSE="GPL-3+"
KEYWORDS="~amd64"
SLOT="0"
RDEPEND="
app-emacs/all-the-icons
app-emacs/treemacs
"
BDEPEND="${RDEPEND}"
SITEFILE="50${PN}-gentoo.el"
src_compile() {
elisp-compile ${PN}.el
}
src_install() {
elisp-install ${PN} ${PN}.el{,c}
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
}
|