summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-03-02 17:22:58 +0100
committerMaciej Barć <xgqt@gentoo.org>2024-03-02 17:32:43 +0100
commitc3c10092de02a206b94f656178fce25866ca5014 (patch)
treebfc8ea3cbc89c0dd0d65b5b6ec988c2f35dd1ceb /app-text/pandoc-bin
parentdev-scheme/mit-scheme: drop old 11.2 (diff)
downloadgentoo-c3c10092de02a206b94f656178fce25866ca5014.tar.gz
gentoo-c3c10092de02a206b94f656178fce25866ca5014.tar.bz2
gentoo-c3c10092de02a206b94f656178fce25866ca5014.zip
app-text/pandoc-bin: bump to 3.1.12.2
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-text/pandoc-bin')
-rw-r--r--app-text/pandoc-bin/Manifest2
-rw-r--r--app-text/pandoc-bin/pandoc-bin-3.1.12.2.ebuild62
2 files changed, 64 insertions, 0 deletions
diff --git a/app-text/pandoc-bin/Manifest b/app-text/pandoc-bin/Manifest
index 37b94be49da9..02e99f316865 100644
--- a/app-text/pandoc-bin/Manifest
+++ b/app-text/pandoc-bin/Manifest
@@ -2,3 +2,5 @@ DIST pandoc-3.1.11.1-linux-amd64.tar.gz 31374400 BLAKE2B 1aff7016c69f60a3401f852
DIST pandoc-3.1.11.1-linux-arm64.tar.gz 34055397 BLAKE2B 98d57ba9ddb4837141f4673d6b37870450373544367c4b7114a6a64234b3cbf386d66eaa6209cab8973561e06ec8a6283b64e1e32d57915baa13d41a60ea48c8 SHA512 119608f4703a041310921200181013b897f8bdeb0915f1550471bfb19c4ea546f5f58e43e92e1fd3e5a4af3797cffd518b32b5f99a36ca95498951cd325b1429
DIST pandoc-3.1.12.1-linux-amd64.tar.gz 31944196 BLAKE2B 43d50b920f1fa7477f3721f09232f9948b32e0953f1f9f9348809c3dedc33ec41db6569a4a76e40f3144b14e5c0121ef77fa9c8ca1ff8cb2fb49e8eb883b0104 SHA512 362b74a14197a36b68762d8e4dd655bc26eafcc7934f0cd0c15e25c238601f41fb6a196adfda072809b7a3d0bb8f02cc7c2024c319d56257ad9facbfbbabbbf1
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
diff --git a/app-text/pandoc-bin/pandoc-bin-3.1.12.2.ebuild b/app-text/pandoc-bin/pandoc-bin-3.1.12.2.ebuild
new file mode 100644
index 000000000000..6c205a599708
--- /dev/null
+++ b/app-text/pandoc-bin/pandoc-bin-3.1.12.2.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
+}