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

EAPI=8

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 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris"

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

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

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