summaryrefslogtreecommitdiff
path: root/app-text/pandoc-bin
diff options
context:
space:
mode:
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.1.12.3.ebuild62
2 files changed, 65 insertions, 0 deletions
diff --git a/app-text/pandoc-bin/Manifest b/app-text/pandoc-bin/Manifest
index d6ef73d8fffb..e97e18bc4626 100644
--- a/app-text/pandoc-bin/Manifest
+++ b/app-text/pandoc-bin/Manifest
@@ -4,7 +4,10 @@ DIST pandoc-3.1.12.1-linux-amd64.tar.gz 31944196 BLAKE2B 43d50b920f1fa7477f3721f
DIST pandoc-3.1.12.1-linux-arm64.tar.gz 34706186 BLAKE2B 5c102f1d03f6f0336d9729e0c9be79bdf715b9739bd6fabff371744f2bb3f3aea552401cec8980972856223ac9cae416e9fa0ff7b606cf56678613649a595976 SHA512 46daa563331df894b779416080a7c76d90ddc6eb58559dd3f678ab50ee99063d59cdf72a02ac9eb5dbd78e17c610c4e07134b671c8d7a07072b81f5681363c87
DIST pandoc-3.1.12.2-linux-amd64.tar.gz 31993808 BLAKE2B 92b4b1e669ac77295d1b78e97500024829fe9fc5c516c3b7eaf60f3b7bf9bed85af37fd8d436d5e580f764e28e89158093b1dfc73dae5582152bd33577ee32e0 SHA512 70f7e9afb0a37389e89d8dcf349b3219ba499de2ca1f36d0c2786c9c8bdab73999c66b74724cdda1eafb27d8b6ca1ccac4f8343ec599be6265e2039040b46fa4
DIST pandoc-3.1.12.2-linux-arm64.tar.gz 34763938 BLAKE2B d89738c2f8e71d2018437fc1af7e8ff9f7357620436936faae4536c3e9888cf682ae39ae31a85d5d607ba12bbdc288e872b239ed59bb716498b4bd0d45177171 SHA512 f3624e871fda54f7074b0a9a80acae68e28cfbfc881af9adfd9a1fb3eda7171ec6abf3bdf9981ebf4a4d204c91a2cb331db5d266fe6b82cbe0280981d3447038
+DIST pandoc-3.1.12.3-linux-amd64.tar.gz 32038834 BLAKE2B 829ab9be9923af1b655e294e679d895d777185ebcfede27a4339f045c31d42cf9e33ee1bbb6d144af79d5ebab4f7a282a4fde7246a78dee66d921c43ec151c13 SHA512 0fc397060d08d2669202a5cd72aa3916f4a625fe478f621edcc9d4cb4ea3c3f9fa22793441b3d0da425b5a1d687d88e3125812b157888ad46c50976c69970ab9
+DIST pandoc-3.1.12.3-linux-arm64.tar.gz 34805145 BLAKE2B 87d4ebf9eebbbc0145ae733e662ff28a9e2d1ff4d6dacb3a191c798efc021bc58c574675ce64e41f557fffaf6864fb776e66b2c3dfcaac0281a4e180e07c8455 SHA512 2128d50e7e5ad93744eee99aaef0d6b0a69fd15ec00c8049e35659050101845a3930146568e34af5ba6d254ccd0098158a4b6485a5eb8fd49a6006d41161ca2a
EBUILD pandoc-bin-3.1.11.1.ebuild 1450 BLAKE2B b846905663c51f8aa082e7cb261e69a91f1cb55c6d09c92b1b3fbe9f9fedf2777550f1ca46b965717ae97ff50b0a928e86eb7ca8d2cc4808fd160ede4895cfba SHA512 b00d55d61794115f6b923a6d0ce7aa13dd828bf355ca1d7219b858c947b73b1df02e45d346a747bbe2ca0b74ea1e529aea89d13e31a7df4ff4cd5e25fda58495
EBUILD pandoc-bin-3.1.12.1.ebuild 1452 BLAKE2B b395d96764270ec8a80dc554570200efe107fd2c204370c3331593a2d2a28d766c76773a29986dbeae2a0c74e214129ee3275e46c0da0c136792b0a680e6b634 SHA512 8d31de85f20cd3fb581f5948bdd7a92b8f2c103dbbcaa09241de5d9ba87011ad819decbc8717f824aa789f39449f0e1e791c502ef8f41aaa048825fbbacc32c9
EBUILD pandoc-bin-3.1.12.2.ebuild 1452 BLAKE2B b395d96764270ec8a80dc554570200efe107fd2c204370c3331593a2d2a28d766c76773a29986dbeae2a0c74e214129ee3275e46c0da0c136792b0a680e6b634 SHA512 8d31de85f20cd3fb581f5948bdd7a92b8f2c103dbbcaa09241de5d9ba87011ad819decbc8717f824aa789f39449f0e1e791c502ef8f41aaa048825fbbacc32c9
+EBUILD pandoc-bin-3.1.12.3.ebuild 1452 BLAKE2B b395d96764270ec8a80dc554570200efe107fd2c204370c3331593a2d2a28d766c76773a29986dbeae2a0c74e214129ee3275e46c0da0c136792b0a680e6b634 SHA512 8d31de85f20cd3fb581f5948bdd7a92b8f2c103dbbcaa09241de5d9ba87011ad819decbc8717f824aa789f39449f0e1e791c502ef8f41aaa048825fbbacc32c9
MISC metadata.xml 986 BLAKE2B 10ab442c2f7892545054ba2747c0cde115d9d875673c077d2cefcd035e2ecd6d04f2aef05ef9ca58a2150a983079ad8fbdc6910ca93fc14977409041e5f20201 SHA512 c8e241d4d7bba0a6f36320517d18fbb99922e32970d7771d5bbc80a8ecf5086f8f7d1eadd0188d457412a66db898d044074b4d4f0301aab1e19cd1213e562375
diff --git a/app-text/pandoc-bin/pandoc-bin-3.1.12.3.ebuild b/app-text/pandoc-bin/pandoc-bin-3.1.12.3.ebuild
new file mode 100644
index 000000000000..6c205a599708
--- /dev/null
+++ b/app-text/pandoc-bin/pandoc-bin-3.1.12.3.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
+}