summaryrefslogtreecommitdiff
path: root/app-emacs/desktop-entry-mode/desktop-entry-mode-0.28.ebuild
blob: d181fb2bd724213d87c8fa984da70b07ece439be (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
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

inherit elisp

DESCRIPTION="GNU Emacs mode for handling freedesktop.org desktop entry files"
HOMEPAGE="https://gitlab.freedesktop.org/xdg/desktop-file-utils"
SRC_URI="https://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-${PV}.tar.xz"
S="${WORKDIR}"/desktop-file-utils-${PV}/misc

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"

RDEPEND="!<dev-util/desktop-file-utils-0.28[emacs(-)]"

SITEFILE="50${PN}-gentoo.el"

src_install() {
	elisp_src_install
	elisp-site-file-install "${FILESDIR}/${SITEFILE}"
}