blob: 89b7c5250fc00e6e83182dc96410219d4919e8de (
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-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Pandoc filter for cross-references"
HOMEPAGE="https://github.com/lierdakil/pandoc-crossref"
SRC_URI="https://github.com/lierdakil/pandoc-crossref/releases/download/v${PV}/pandoc-crossref-Linux.tar.xz -> ${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64"
S=${WORKDIR}
RDEPEND="
|| ( =app-text/pandoc-bin-3.1.12.1 =app-text/pandoc-3.1.12.1 )
!dev-haskell/pandoc-crossref
"
src_install() {
exeinto /usr/bin
newexe ${WORKDIR}/pandoc-crossref pandoc-crossref
newman ${WORKDIR}/pandoc-crossref.1 pandoc-crossref.1
}
|