commit: c280a7ff05459b3f390e84fbc75e787eecd515bf Author: Robert Greener <me <AT> r0bert <DOT> dev> AuthorDate: Mon Jul 18 15:25:52 2022 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Mon Jul 18 15:26:03 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c280a7ff
app-text/pandoc-bin: new package, add 2.18 Signed-off-by: Robert Greener <me <AT> r0bert.dev> app-text/pandoc-bin/Manifest | 3 +++ app-text/pandoc-bin/metadata.xml | 17 ++++++++++++ app-text/pandoc-bin/pandoc-bin-2.18.ebuild | 42 ++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) diff --git a/app-text/pandoc-bin/Manifest b/app-text/pandoc-bin/Manifest new file mode 100644 index 000000000..614c90b10 --- /dev/null +++ b/app-text/pandoc-bin/Manifest @@ -0,0 +1,3 @@ +DIST pandoc-bin-2.18-amd64.tar.gz 16713899 BLAKE2B 89f2166fb93793c07af9d3ddff56767e4072500b80cd462a498f5534fdbfba974fa517fa05c3bfeaf44179cd23b6d53fc5daed5916f18fce13df4486040610ca SHA512 ec0285e9a1640e7594d5bdca3fcdc738b2139e20f4a4f75b0f49ff76d2d2f5a0e8b90912e63a93e787c57f18eb3d155f214f088e55b435ef03acb8cfbf92272b +DIST pandoc-bin-2.18-arm64.tar.gz 18522530 BLAKE2B 84e2479a77c12ace90a93ed9b66be2abdec357e0b4338143db8a9318cd48e76852d9fc12ceb8bd795860412a2e98d11a4d1e54bf74bdf68494c699fd5878c818 SHA512 e2be1473edeba12996a9eb7af3fe7dfd860adb1054446d2b93db6d712708282424628b14fea8809dba903e93daa1626a0dc3e1304af33b77e9da298c8fd7885b +DIST pandoc-bin-2.18-source.tar.gz 7319660 BLAKE2B 005c16d299d5e9492819dd18925cf27862931493598d189eb970ad4a89dda038c27d69c4834cfb4a0a5f96c50ea4dbc8c6f0e3b9c7f9ae110427911441e231e3 SHA512 44f0d51a37943057385009291315de603f10a8d094fd36146ddc42fd2937413500b77e2df13d4d9d1c6b1a333895887983d3620f5ad2adfbc3b6d681920dee40 diff --git a/app-text/pandoc-bin/metadata.xml b/app-text/pandoc-bin/metadata.xml new file mode 100644 index 000000000..8a9f02247 --- /dev/null +++ b/app-text/pandoc-bin/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Robert Greener</name> + </maintainer> + <longdescription lang="en">A binary version of pandoc, as provided by upstream, so that ~170 haskell dependencies are not required.</longdescription> + <upstream> + <maintainer> + <name>John MacFarlane</name> + <email>[email protected]</email> + </maintainer> + <bugs-to>https://github.com/jgm/pandoc/issues</bugs-to> + <remote-id type="github">jgm/pandoc</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-text/pandoc-bin/pandoc-bin-2.18.ebuild b/app-text/pandoc-bin/pandoc-bin-2.18.ebuild new file mode 100644 index 000000000..bd93c8249 --- /dev/null +++ b/app-text/pandoc-bin/pandoc-bin-2.18.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Unviersal markup converter pandoc without ~170 haskell dependencies" + +HOMEPAGE="https://github.com/jgm/pandoc" + +SRC_URI=" + https://github.com/jgm/pandoc/archive/${PV}.tar.gz -> ${P}-source.tar.gz + amd64? ( https://github.com/jgm/pandoc/releases/download/${PV}/pandoc-${PV}-linux-amd64.tar.gz -> ${P}-amd64.tar.gz ) + arm64? ( https://github.com/jgm/pandoc/releases/download/${PV}/pandoc-${PV}-linux-arm64.tar.gz -> ${P}-arm64.tar.gz ) +" + +# License of the package. This must match the name of file(s) in the +# licenses/ directory. For complex license combination see the developer +# docs on gentoo.org for details. +LICENSE="GPL-2+ BSD GPL-3+ WTFPL MIT" + +SLOT="0" +DEPEND="!!app-text/pandoc" + +KEYWORDS="-* ~amd64 ~arm64" +S="${WORKDIR}/pandoc-${PV}" + +src_compile() { + true +} + +src_install() { + + gunzip "${S}/share/man/man1/pandoc.1.gz" + + doman "${S}/share/man/man1/pandoc.1" + dobin "${S}/bin/pandoc" + + insinto /usr/share/pandoc + doins -r "${WORKDIR}/pandoc-${PV}/data" + doins COPYRIGHT + dodoc MANUAL.txt +}
