2021-07-07 18:20:27 +02:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
2020-10-17 20:44:20 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
|
|
|
MY_PN="${PN//-bin/}"
|
|
|
|
MY_P="${MY_PN}-${PV}"
|
|
|
|
|
|
|
|
DESCRIPTION="Universal markup converter"
|
|
|
|
HOMEPAGE="https://pandoc.org"
|
2021-05-10 22:43:05 +02:00
|
|
|
|
2021-05-12 00:17:02 +02:00
|
|
|
SRC_URI="https://github.com/jgm/${MY_PN}/releases/download/${PV}/${MY_P}-linux-amd64.tar.gz"
|
2020-10-17 20:44:20 +02:00
|
|
|
|
|
|
|
RESTRICT="mirror bindist"
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="-* ~amd64"
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
!app-text/${MY_PN}
|
|
|
|
"
|
|
|
|
|
|
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
|
|
|
|
QA_PRESTRIPPED="
|
|
|
|
usr/bin/${MY_PN}
|
|
|
|
"
|
|
|
|
|
|
|
|
src_unpack() {
|
|
|
|
default
|
|
|
|
|
|
|
|
# manpages are gzipped
|
|
|
|
find . -name "*.gz" | xargs gunzip
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
cd "${S}/bin" || die
|
|
|
|
dobin "${MY_PN}"
|
|
|
|
|
|
|
|
cd "${S}/share/man/man1" || die
|
|
|
|
doman "${MY_PN}.1"
|
|
|
|
}
|