summaryrefslogtreecommitdiff
path: root/app-text/pandoc-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-06 04:27:04 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-06 04:27:04 +0100
commitd6106fb0c1ab8f79024ab6a9ac2062ddc85d4e07 (patch)
treef3a4ad4dcf443e9351fa5dec88afeeec86c9b642 /app-text/pandoc-bin
parentf3f72d0d5f1ae9ee74acaa63ccb7a247468e73bf (diff)
gentoo auto-resync : 06:10:2024 - 04:27:04
Diffstat (limited to 'app-text/pandoc-bin')
-rw-r--r--app-text/pandoc-bin/Manifest3
-rw-r--r--app-text/pandoc-bin/pandoc-bin-3.5.ebuild62
2 files changed, 65 insertions, 0 deletions
diff --git a/app-text/pandoc-bin/Manifest b/app-text/pandoc-bin/Manifest
index 0d1dd8a69488..51ac0cae5c6f 100644
--- a/app-text/pandoc-bin/Manifest
+++ b/app-text/pandoc-bin/Manifest
@@ -2,6 +2,9 @@ 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
EBUILD pandoc-bin-3.3.ebuild 1450 BLAKE2B b846905663c51f8aa082e7cb261e69a91f1cb55c6d09c92b1b3fbe9f9fedf2777550f1ca46b965717ae97ff50b0a928e86eb7ca8d2cc4808fd160ede4895cfba SHA512 b00d55d61794115f6b923a6d0ce7aa13dd828bf355ca1d7219b858c947b73b1df02e45d346a747bbe2ca0b74ea1e529aea89d13e31a7df4ff4cd5e25fda58495
EBUILD pandoc-bin-3.4.ebuild 1452 BLAKE2B b395d96764270ec8a80dc554570200efe107fd2c204370c3331593a2d2a28d766c76773a29986dbeae2a0c74e214129ee3275e46c0da0c136792b0a680e6b634 SHA512 8d31de85f20cd3fb581f5948bdd7a92b8f2c103dbbcaa09241de5d9ba87011ad819decbc8717f824aa789f39449f0e1e791c502ef8f41aaa048825fbbacc32c9
+EBUILD pandoc-bin-3.5.ebuild 1452 BLAKE2B b395d96764270ec8a80dc554570200efe107fd2c204370c3331593a2d2a28d766c76773a29986dbeae2a0c74e214129ee3275e46c0da0c136792b0a680e6b634 SHA512 8d31de85f20cd3fb581f5948bdd7a92b8f2c103dbbcaa09241de5d9ba87011ad819decbc8717f824aa789f39449f0e1e791c502ef8f41aaa048825fbbacc32c9
MISC metadata.xml 986 BLAKE2B 10ab442c2f7892545054ba2747c0cde115d9d875673c077d2cefcd035e2ecd6d04f2aef05ef9ca58a2150a983079ad8fbdc6910ca93fc14977409041e5f20201 SHA512 c8e241d4d7bba0a6f36320517d18fbb99922e32970d7771d5bbc80a8ecf5086f8f7d1eadd0188d457412a66db898d044074b4d4f0301aab1e19cd1213e562375
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
+}