summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-10-05 23:17:06 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-10-05 23:44:17 +0200
commitc51874f7da98dd561a08c49098ee7723045b5a74 (patch)
tree83aaafabc8821ba2af82e332a0986a9ff2e7ea55 /app-text
parentdev-lang/nim: bump to 2.2.0 (diff)
downloadgentoo-c51874f7da98dd561a08c49098ee7723045b5a74.tar.gz
gentoo-c51874f7da98dd561a08c49098ee7723045b5a74.tar.bz2
gentoo-c51874f7da98dd561a08c49098ee7723045b5a74.zip
app-text/pandoc-bin: bump to 3.5
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/pandoc-bin/Manifest2
-rw-r--r--app-text/pandoc-bin/pandoc-bin-3.5.ebuild62
2 files changed, 64 insertions, 0 deletions
diff --git a/app-text/pandoc-bin/Manifest b/app-text/pandoc-bin/Manifest
index 6fb364ce0a29..5357d998b427 100644
--- a/app-text/pandoc-bin/Manifest
+++ b/app-text/pandoc-bin/Manifest
@@ -2,3 +2,5 @@ DIST pandoc-3.3-linux-amd64.tar.gz 32140122 BLAKE2B eda93f6a127e40d3ef0646043855
DIST pandoc-3.3-linux-arm64.tar.gz 34838805 BLAKE2B a81e590d862aa3c7832425cba67d3622805373dbee5c1a36e52e80326d28251d2076ec95392b0bea62c5154c6f59e2f60d2195b64d0fe6688313437f76f678c4 SHA512 e2c42c2af49dffd05506dc268d929214b85559560140da163145b72dce4dd8fd2f22b8e3278dfdaf0d90f7caba8a8d5a56443362054d508437326b7fc1dfcb93
DIST pandoc-3.4-linux-amd64.tar.gz 32415360 BLAKE2B f1daec8a527b5a58c55ed060f6dc38db36011ffc4825d11710e82301f984511e9584dba8bc52823c3e1acc6acdd58d5cfc60714263b5e8eafa210c383316e944 SHA512 b38ca8b7c51117051de235a937bf50382ca831e68f190503c3526261920c4568f963400c1953247495d18782f5b0d864085621965a11750255b508ba7779ccaa
DIST pandoc-3.4-linux-arm64.tar.gz 35126564 BLAKE2B 4dba5ce0e85b3189d1af814bf4a27198004c391b4e27aabe7b71bbb122a310af6b83cf032e495ccab2004226687b5f830fa26554d12d1be49c250d28fc792958 SHA512 954c7b267d67566da8c613f866c82b3a2e6d65e42f261f07ffa486a0e2c4095b3320cee637aecfa297e7abd81e118fcfe0e05d04870bc23219c0a3154c96e15a
+DIST pandoc-3.5-linux-amd64.tar.gz 32371117 BLAKE2B c6c2e08760fe2172bcd0acda3e54c650e48b2a7e9eef519807ec70c5b17cd34f2bc46c11965cfda5d1a072f73ca0cc88d7067c30a3c193192b0e3de7feec0bb8 SHA512 5c83cc80a559912862eb4b89a0ff67101f3e201210812a9e255930037e411de236d41a7c961adc1caff94f50e41de4308f1ed1d76e41a0024c4f96240e252ce7
+DIST pandoc-3.5-linux-arm64.tar.gz 35098101 BLAKE2B 3bfefaed9d5a972aa2a94f1ab1a52e85408c020cc3460fcbe02113103c8038f8290b0f3918d30c4b73f74be7978694021a4cc07e8fd64a00fdc7f8066f46453f SHA512 b15aea4cebffec3dc9645af306d017584fe707b643816a98c794b7fb5157643d6a06f0062dc89327458ce2009ded120bac88f3f0bbed8027740a0d47f9f9d958
diff --git a/app-text/pandoc-bin/pandoc-bin-3.5.ebuild b/app-text/pandoc-bin/pandoc-bin-3.5.ebuild
new file mode 100644
index 000000000000..6c205a599708
--- /dev/null
+++ b/app-text/pandoc-bin/pandoc-bin-3.5.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 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/
+ https://github.com/jgm/pandoc/"
+
+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 ~arm64"
+IUSE="+pandoc-symlink"
+
+RDEPEND="
+ pandoc-symlink? (
+ !${CATEGORY}/${MY_PN}
+ !app-text/pandoc-cli
+ !dev-haskell/pandoc
+ )
+"
+
+QA_FLAGS_IGNORED="usr/bin/${PN}"
+QA_PRESTRIPPED="${QA_FLAGS_IGNORED}"
+
+src_unpack() {
+ default
+
+ # Manpages are gzipped.
+ unpack "${S}"/share/man/man1/*.1.gz
+}
+
+src_install() {
+ exeinto /usr/bin
+ newexe bin/${MY_PN} ${PN}
+ dosym ${PN} /usr/bin/pandoc-lua-bin
+ dosym ${PN} /usr/bin/pandoc-server-bin
+
+ newman "${WORKDIR}"/${MY_PN}-lua.1 pandoc-lua-bin.1
+ newman "${WORKDIR}"/${MY_PN}-server.1 pandoc-server-bin.1
+ newman "${WORKDIR}"/${MY_PN}.1 ${PN}.1
+
+ if use pandoc-symlink ; then
+ dosym ${PN} /usr/bin/${MY_PN}
+ dosym pandoc-lua-bin /usr/bin/${MY_PN}-lua
+ dosym pandoc-server-bin /usr/bin/${MY_PN}-server
+
+ dosym ${PN}.1 /usr/share/man/man1/${MY_PN}.1
+ dosym pandoc-lua-bin.1 /usr/share/man/man1/${MY_PN}-lua.1
+ dosym pandoc-server-bin.1 /usr/share/man/man1/${MY_PN}-server.1
+ fi
+}