summaryrefslogtreecommitdiff
path: root/app-emacs/treemacs-all-the-icons/treemacs-all-the-icons-3.2.ebuild
blob: ecb17505f1359f233727434eefd69b63068d7a43 (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-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

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}.gh.tar.gz"
S="${WORKDIR}/treemacs-${PV}/src/extra"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"

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-make-site-file "${SITEFILE}"
}