app-text/pandoc-bin: nev package; add version 2.10.1

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć 2020-08-07 19:26:01 +02:00
parent bda732e88f
commit ad95703dae
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
3 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST pandoc-2.10.1-linux-amd64.tar.gz 24738243 BLAKE2B b139274bbce6c8ee57ab9a29d6bd1bab23b543a8e93841dfa2f5640b944a5e927360517d9e9f840c73a6ca1455d678ef780577279f9cea34ea985ba2298de2c9 SHA512 5de8bcdf4c008e4521432cd4af86e7b8f6e309b8373a43b8d51b91825a1cc7e05fd59c24ef606b5ea92403383c9c5cb565f3c5f4335148b30cd4bc92211a7b83

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xgqt@protonmail.com</email>
<name>Maciej Barć</name>
</maintainer>
<upstream>
<remote-id type="github">jgm/pandoc</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,45 @@
# Copyright 1999-2020 Gentoo Authors
# 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"
SRC_URI="https://github.com/jgm/${MY_PN}/releases/download/${PV}/${MY_P}-linux-amd64.tar.gz"
RESTRICT="mirror bindist"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64"
IUSE=""
RDEPEND="
!app-text/${MY_PN}
"
S="${WORKDIR}/${MY_P}"
QA_PRESTRIPPED="
usr/bin/${MY_PN}
usr/bin/${MY_PN}-citeproc
"
src_unpack() {
default
# manpages are gzipped
find . -name "*.gz" | xargs gunzip
}
src_install() {
cd "${S}/bin" || die
dobin "${MY_PN}"
dobin "${MY_PN}-citeproc"
cd "${S}/share/man/man1" || die
doman "${MY_PN}.1"
doman "${MY_PN}-citeproc.1"
}