summaryrefslogtreecommitdiff
blob: b9aee9d23bf745cfbe7f7aa7bfe14cad7a3dd810 (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
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Gentoo curated mimeapps list for KDE Plasma"
HOMEPAGE="https://specifications.freedesktop.org/mime-apps-spec/mime-apps-spec-1.0.1.html"
SRC_URI=""
S=${WORKDIR}

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86"
IUSE=""

RDEPEND=""

src_install() {
	default

	# TODO: Should we just remove the upstream one in /usr/share?
	# /etc/xdg should really be available for site-local overrides, but then
	# again we have CONFIG_PROTECT...
	insinto /etc/xdg/mimeapps.list
	doins "${FILESDIR}"/mimeapps.list
}