diff --git a/app-text/pandoc-bin/Manifest b/app-text/pandoc-bin/Manifest new file mode 100644 index 0000000..c38728f --- /dev/null +++ b/app-text/pandoc-bin/Manifest @@ -0,0 +1 @@ +DIST pandoc-2.10.1-linux-amd64.tar.gz 24738243 BLAKE2B b139274bbce6c8ee57ab9a29d6bd1bab23b543a8e93841dfa2f5640b944a5e927360517d9e9f840c73a6ca1455d678ef780577279f9cea34ea985ba2298de2c9 SHA512 5de8bcdf4c008e4521432cd4af86e7b8f6e309b8373a43b8d51b91825a1cc7e05fd59c24ef606b5ea92403383c9c5cb565f3c5f4335148b30cd4bc92211a7b83 diff --git a/app-text/pandoc-bin/metadata.xml b/app-text/pandoc-bin/metadata.xml new file mode 100644 index 0000000..0e026d7 --- /dev/null +++ b/app-text/pandoc-bin/metadata.xml @@ -0,0 +1,11 @@ + + + + + xgqt@protonmail.com + Maciej Barć + + + jgm/pandoc + + diff --git a/app-text/pandoc-bin/pandoc-bin-2.10.1.ebuild b/app-text/pandoc-bin/pandoc-bin-2.10.1.ebuild new file mode 100644 index 0000000..8037086 --- /dev/null +++ b/app-text/pandoc-bin/pandoc-bin-2.10.1.ebuild @@ -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" +}