app-text/pandoc-bin: bump to 2.11.0.2

This commit is contained in:
Igor Drożniak 2020-10-17 20:44:20 +02:00
parent ea18aaa123
commit be28acaec2
2 changed files with 43 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST pandoc-2.10.1-linux-amd64.tar.gz 24738243 BLAKE2B b139274bbce6c8ee57ab9a29d6bd1bab23b543a8e93841dfa2f5640b944a5e927360517d9e9f840c73a6ca1455d678ef780577279f9cea34ea985ba2298de2c9 SHA512 5de8bcdf4c008e4521432cd4af86e7b8f6e309b8373a43b8d51b91825a1cc7e05fd59c24ef606b5ea92403383c9c5cb565f3c5f4335148b30cd4bc92211a7b83
DIST pandoc-2.11.0.2-linux-amd64.tar.gz 16461694 BLAKE2B 28c318d4afdc3e320772c5b7048868b4d94fae40d9237e030eeefc104344f9669796c1828a9e3bffe311708235b0d637886606a56cde9480f2dc60c3647d0148 SHA512 fa3ffaba6e1686840d91e0b6c37d34734d4b11664cd0a898d1338f2379f0fa09b02989432b3bdaa9df08ea4baee092b1ec6b98ecb48f8680f0a2f4ebba104a11

View File

@ -0,0 +1,42 @@
# 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}
"
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"
}