From be28acaec214314fbdd8c4cf4a9943de51395f0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Dro=C5=BCniak?= Date: Sat, 17 Oct 2020 20:44:20 +0200 Subject: [PATCH] app-text/pandoc-bin: bump to 2.11.0.2 --- app-text/pandoc-bin/Manifest | 1 + .../pandoc-bin/pandoc-bin-2.11.0.2.ebuild | 42 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 app-text/pandoc-bin/pandoc-bin-2.11.0.2.ebuild diff --git a/app-text/pandoc-bin/Manifest b/app-text/pandoc-bin/Manifest index c38728f..0c3d8ea 100644 --- a/app-text/pandoc-bin/Manifest +++ b/app-text/pandoc-bin/Manifest @@ -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 diff --git a/app-text/pandoc-bin/pandoc-bin-2.11.0.2.ebuild b/app-text/pandoc-bin/pandoc-bin-2.11.0.2.ebuild new file mode 100644 index 0000000..d206a34 --- /dev/null +++ b/app-text/pandoc-bin/pandoc-bin-2.11.0.2.ebuild @@ -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" +}