diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-04-07 17:59:07 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-04-07 18:20:06 +0200 |
commit | 4ee7e22af29882ae191304d7cb793989c6b1a767 (patch) | |
tree | 7198c24d0e8b26f5b89f2b1f8228f76755ed0675 /app-text | |
parent | app-text/pandoc-bin: drop old 3.1.11.1 (diff) | |
download | gentoo-4ee7e22af29882ae191304d7cb793989c6b1a767.tar.gz gentoo-4ee7e22af29882ae191304d7cb793989c6b1a767.tar.bz2 gentoo-4ee7e22af29882ae191304d7cb793989c6b1a767.zip |
app-text/pandoc-bin: bump to 3.1.13
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/pandoc-bin/Manifest | 2 | ||||
-rw-r--r-- | app-text/pandoc-bin/pandoc-bin-3.1.13.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/app-text/pandoc-bin/Manifest b/app-text/pandoc-bin/Manifest index 820252f00440..f4f5cf333d20 100644 --- a/app-text/pandoc-bin/Manifest +++ b/app-text/pandoc-bin/Manifest @@ -4,3 +4,5 @@ DIST pandoc-3.1.12.2-linux-amd64.tar.gz 31993808 BLAKE2B 92b4b1e669ac77295d1b78e 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 +DIST pandoc-3.1.13-linux-amd64.tar.gz 32092762 BLAKE2B 87e55905550cc6289241b399faa0ae65e913bf1105ba6309a7b7ed63685cc43f267b065c811a335b0774a3b7d6f082f607015f8558b66c8098591513e26c6f4c SHA512 68986e691895770ad51018e5643a02fb848517a1ab68dd0cd99e8511a2a681f9c2bcf1ebc0088c39e1c0f8ebbf4032795b2427696f92ef4a64eab18b7aa588c2 +DIST pandoc-3.1.13-linux-arm64.tar.gz 34869977 BLAKE2B 485a33645c580edf28ebbcee4ce67fa9c7bebb84d4771b0ba23a6b78beb9b92e125d2e8024b061a6b6da839b96969add6f27d420a102ad01305c9a9a120e5478 SHA512 36253cc908c147ee7cda398c52f4ec0a7493e7f0525a3f97cba7cf53e39cf3fd225ecb2f77508fae7c59aa6c79ca85644b9759a0eb0dc918f86fb2049e17858a diff --git a/app-text/pandoc-bin/pandoc-bin-3.1.13.ebuild b/app-text/pandoc-bin/pandoc-bin-3.1.13.ebuild new file mode 100644 index 000000000000..6c205a599708 --- /dev/null +++ b/app-text/pandoc-bin/pandoc-bin-3.1.13.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 +} |