diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-03-28 02:03:10 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-03-28 02:35:33 +0200 |
commit | 300ede0b025a68064277e342f30799cc2ec26b49 (patch) | |
tree | e34de886001f0241094cfc93d6d86ccfc3485dd9 /app-text/pandoc-bin | |
parent | dev-python/zipp: drop myself as a maintainer (diff) | |
download | gentoo-300ede0b025a68064277e342f30799cc2ec26b49.tar.gz gentoo-300ede0b025a68064277e342f30799cc2ec26b49.tar.bz2 gentoo-300ede0b025a68064277e342f30799cc2ec26b49.zip |
app-text/pandoc-bin: bump to 3.1.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-3.1.2.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/app-text/pandoc-bin/Manifest b/app-text/pandoc-bin/Manifest index aab74acf7b76..ac1f269e1c26 100644 --- a/app-text/pandoc-bin/Manifest +++ b/app-text/pandoc-bin/Manifest @@ -4,3 +4,5 @@ DIST pandoc-3.1-linux-amd64.tar.gz 26480348 BLAKE2B faabb114fde41c51ada10d4bb85c DIST pandoc-3.1-linux-arm64.tar.gz 28541921 BLAKE2B c00281dd2b4707b5046a79b83d28d95d6b8bb71076f65904f4c64e9628491ee4e35a9470ca962357dd18776caa9f895fdb8edad1211a3cdf63276c20aa5a9b5f SHA512 4ada611a0748b5607ac97da80925a86bf7f10f723cd3cec276d257d81cf991c6e8d5324bb99f67e5fbf3785558f03e86b2cda6524c3de79f1c68febd17abe635 DIST pandoc-3.1.1-linux-amd64.tar.gz 26510765 BLAKE2B 5d95137a9d5dabbead7a0a56b67d7f876491e6bb71812958163dae600e6826544d89d5f036c3c6e19b022462014a5c317d73ed59a6955d02c4a5ae70088e2a31 SHA512 f6b99770a173e8ef0136b009a3d646fe60c80133827f6a09c40d1a5a2c59cf757d89fbc1314555c0883fcfc2b8f8b05502e0efdfe57f17b892d13ef49d4e5725 DIST pandoc-3.1.1-linux-arm64.tar.gz 28579848 BLAKE2B 8933d6d062f51b172bb142a96dd5fcd5057b1c070b90272b8b4f192780e5107b1ef8f143e662a68ac4472b23982dd5def753db0880f15785a40b8a87e116182a SHA512 b420f33114dcf6fa1e9512fdde64d85e00c837eb98c3f3e35b21c49dc8a38dfda3c90ef21aa99108da3349ae1abe27b108c57e969a703e8919105c1918c70aa0 +DIST pandoc-3.1.2-linux-amd64.tar.gz 26813708 BLAKE2B 0ded2b73204d5a9447442a2b0bc7c67ee7b2256583caaf71dbe2d0e2bad66977272a9b7089828ea96b3e88d18532338b224ea752299bdb9a4654cf7b4b02ce6f SHA512 8d16e9d852ab10744d885973f788232f8f0cc768d293873fa253d415a286d73a33b27653ed12e871cbe35908130388d039086712c20baac1dde0b0993e740b8e +DIST pandoc-3.1.2-linux-arm64.tar.gz 28909714 BLAKE2B 2ef53ccdf30df08d2f6819dfeb3cc542ca535b4ff73574681123a1d045dfbd04219adfdcf98becd0796749abaec309ce882714fba3afa5f8543942982f80a03b SHA512 4d36e2afb7c0e7561fa4a9cc6e56706c40435ff175224604cb544cb4c924aafd4ebb09419eebb9d7e30d899828928579ef1ac254eafa387da8e12fce9844e0ce diff --git a/app-text/pandoc-bin/pandoc-bin-3.1.2.ebuild b/app-text/pandoc-bin/pandoc-bin-3.1.2.ebuild new file mode 100644 index 000000000000..f5289c741e6a --- /dev/null +++ b/app-text/pandoc-bin/pandoc-bin-3.1.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 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} )" + +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 +} |