diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-08-23 15:17:34 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-08-23 17:22:29 +0200 |
commit | e8fe4e235decbdc7a3b7408748b1e7fc6cb409ea (patch) | |
tree | b8b8471d26c9091a1f26eeb3361f481901a8d7be /app-text/pandoc-bin | |
parent | x11-libs/wxGTK: Replace deprecated virtual/jpeg dependency (diff) | |
download | gentoo-e8fe4e235decbdc7a3b7408748b1e7fc6cb409ea.tar.gz gentoo-e8fe4e235decbdc7a3b7408748b1e7fc6cb409ea.tar.bz2 gentoo-e8fe4e235decbdc7a3b7408748b1e7fc6cb409ea.zip |
app-text/pandoc-bin: bump to 2.19.2
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-text/pandoc-bin')
-rw-r--r-- | app-text/pandoc-bin/Manifest | 2 | ||||
-rw-r--r-- | app-text/pandoc-bin/pandoc-bin-2.19.2.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-text/pandoc-bin/Manifest b/app-text/pandoc-bin/Manifest index 4631bd86a886..65a7d4933054 100644 --- a/app-text/pandoc-bin/Manifest +++ b/app-text/pandoc-bin/Manifest @@ -4,3 +4,5 @@ DIST pandoc-2.19-linux-amd64.tar.gz 16807538 BLAKE2B f92ca873d3f048768ecf39533c6 DIST pandoc-2.19-linux-arm64.tar.gz 18631015 BLAKE2B 5e4ca9f33a10dd98c3e95798f073d2527d6aebe8a12af2d24fb93346a5ef5c6e567d3fb1b26a222a4f252efc77d874233ad4eb0c26a2b7185b4593541235d583 SHA512 f16c8114e2551203e603285f4ab27a1343516acaad622b672d617ce15b3fb108fe4e9a5926ba1d70545bdba8822291a94f4b65ff228a89bf7262286c80eb887c DIST pandoc-2.19.1-linux-amd64.tar.gz 17167943 BLAKE2B 7799baa54cf340581113eac5e783c8eaff52f93cd0992a706f6c1cfd176d37466acadd46be9ef624de3633c5f32bd9f62b61d886af64f00a7c993829fe57aac8 SHA512 504ee74f8fa67789472d69f7545588cbc990a4a637f38281ee7e71ce9022153994f291a1470fadbbe457d032543524e2c62ea98889c1f75ba86788dcc605c652 DIST pandoc-2.19.1-linux-arm64.tar.gz 19030188 BLAKE2B de56902e276e9df89e88c92cb470e177d23a957542bfb11ff8449fec3c5af4a461b36b3093c5523e273d68a28784de9b88af862aa5d1be6f493c3a7485c001ca SHA512 8e74784690bb14d2239f83a52992548f7e27ad5ff93cf844cdb93f6e74d904592cd64cd98b6e93daa66b5cf83ce6c3e5968ab4ae86f23d69557b863ffea60ce4 +DIST pandoc-2.19.2-linux-amd64.tar.gz 17174200 BLAKE2B effed9eab23fb5e957e3f6282fe0356935819e5a89ac02bd687b6b635fd0a1f5ba65b5b8b40d5bbd8f89d3b17d290184dd84555442eae15f1c1d5c916711d43a SHA512 c3c2ea179601cf9fea3826e6e6d148b951e5d5fe440db80759bdd49de2200660e6b66100453bd1714623bd98ac46fd51a4fb6e715668de04a122181949eee82a +DIST pandoc-2.19.2-linux-arm64.tar.gz 19033935 BLAKE2B c6964e708d6f0fbb4be4c3ba226dbc31629c466caa75f97ec450296f2c546d587db6c7d9145c65147d5c7ac7949e1dbd3fa3f6944276b4af8ccca2d896010403 SHA512 adb4eb5e3fa79d188d2123d132493c131dbedb408380012876b8ee80950cde4315ac179e9126d30d55221c3637b911b153ee4e6f550ccbc4dcd1f4828229974a diff --git a/app-text/pandoc-bin/pandoc-bin-2.19.2.ebuild b/app-text/pandoc-bin/pandoc-bin-2.19.2.ebuild new file mode 100644 index 000000000000..13a2ca157762 --- /dev/null +++ b/app-text/pandoc-bin/pandoc-bin-2.19.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN=${PN//-bin/} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Conversion between markup formats (binary package)" +HOMEPAGE="https://pandoc.org/" + +BASE_URI="https://github.com/jgm/${MY_PN}/releases/download/${PV}/${MY_P}" +SRC_URI=" + amd64? ( ${BASE_URI}-linux-amd64.tar.gz ) + arm64? ( ${BASE_URI}-linux-arm64.tar.gz ) +" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~amd64" # Upstream provides only AMD and ARM 64-bit binaries +IUSE="+pandoc-symlink" + +RDEPEND="pandoc-symlink? ( !${CATEGORY}/${MY_PN} )" + +QA_FLAGS_IGNORED="usr/bin/${PN}" +QA_PRESTRIPPED="${QA_FLAGS_IGNORED}" + +src_unpack() { + default + + # Manpages are gzipped + unpack "${S}"/share/man/man1/${MY_PN}.1.gz +} + +src_install() { + newbin bin/${MY_PN} ${PN} + newman "${WORKDIR}"/${MY_PN}.1 ${PN}.1 + + if use pandoc-symlink ; then + dosym ${PN} /usr/bin/${MY_PN} + dosym ${PN}.1 /usr/share/man/man1/${MY_PN}.1 + fi +} |