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

EAPI=7

inherit elisp

DESCRIPTION="Add support for DocBook 5 schemas to NXML"
HOMEPAGE="https://docbook.org/schemas/5x.html"
SRC_URI="https://docbook.org/xml/${PV}/rng/docbookxi.rnc -> docbookxi-${PV}.rnc"

LICENSE="HPND"
SLOT="0"
KEYWORDS="~amd64 x86"

S="${WORKDIR}"
SITEFILE="60${PN}-gentoo.el"

src_unpack() { :; }

src_compile() { :; }

src_install() {
	insinto ${SITEETC}/${PN}
	doins "${FILESDIR}"/schemas.xml
	newins "${DISTDIR}"/docbookxi-${PV}.rnc docbookxi.rnc
	elisp-site-file-install "${FILESDIR}/${SITEFILE}"
}