diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-06-24 23:40:21 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-06-24 23:40:21 +0200 |
commit | 39cf7de0d7ca777b57b333519b1ad0ab6665e294 (patch) | |
tree | 18fff12e51394a620a60018bf7534d352fd30260 /app-text/pandoc-bin | |
parent | media-sound/teamspeak-client: update deps (diff) | |
download | gentoo-39cf7de0d7ca777b57b333519b1ad0ab6665e294.tar.gz gentoo-39cf7de0d7ca777b57b333519b1ad0ab6665e294.tar.bz2 gentoo-39cf7de0d7ca777b57b333519b1ad0ab6665e294.zip |
app-text/pandoc-bin: bump to 3.1.4
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.4.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/app-text/pandoc-bin/Manifest b/app-text/pandoc-bin/Manifest index 9f17241b10d2..dd7aef19fd06 100644 --- a/app-text/pandoc-bin/Manifest +++ b/app-text/pandoc-bin/Manifest @@ -2,3 +2,5 @@ DIST pandoc-3.1.2-linux-amd64.tar.gz 26813708 BLAKE2B 0ded2b73204d5a9447442a2b0b DIST pandoc-3.1.2-linux-arm64.tar.gz 28909714 BLAKE2B 2ef53ccdf30df08d2f6819dfeb3cc542ca535b4ff73574681123a1d045dfbd04219adfdcf98becd0796749abaec309ce882714fba3afa5f8543942982f80a03b SHA512 4d36e2afb7c0e7561fa4a9cc6e56706c40435ff175224604cb544cb4c924aafd4ebb09419eebb9d7e30d899828928579ef1ac254eafa387da8e12fce9844e0ce DIST pandoc-3.1.3-linux-amd64.tar.gz 28685814 BLAKE2B ecbc685d45ced12f69223ceff4914a876fa631866eb304ea58ab1623a9569de708cc8b85c403881e1f53dfc559885409329dd13cbadc88afb52c490d9c61fb0e SHA512 f97e62154ceeaf47c6bc2b8c28008ff4a30392b9162b387e4181097c359d0244b8c6435c88fcd587eb210612fb274d639bb2058bc565a8400c2fb6cdeda45b8a DIST pandoc-3.1.3-linux-arm64.tar.gz 30811766 BLAKE2B 5d5807ea6de49fe87b31f51754d70f781fbd27111980bb14eaafd985a53f7e4fa1c7c0dd66d041184194d5b6a74a429e78b8a0913532645d29b47dbc82e154fb SHA512 6bb8b658e2ea3c96e5781754618104086268dbad45bd95ed7474842993c57cbd18ef1bb909556a1aef118589624d431b17454cd76e8b44dbe441e463e6332a1b +DIST pandoc-3.1.4-linux-amd64.tar.gz 28628391 BLAKE2B b929d7c1f37f0630a816e07cf0b67a35dd474bfe55626c1ea3c4acefa61a4a7fe335cc1913c01ca3fd45fa1469f957ad671b08fc7e0bd1d4ca6404fe3817f1dc SHA512 f59b66bae4b365ef1291ca979e47ee3955d017112b645da0b7b70dfc84cfc32d29ceb948e6ddd2f16a847867df661b69d1e0f0058259d53613a0ee5b61f312d9 +DIST pandoc-3.1.4-linux-arm64.tar.gz 30740344 BLAKE2B d0504eb6e530d91d223fcd5b578651ba4be74141c7cc4f2616a2a56dbdd73deafd8997a2eb0d0d4b7b75591219cbd194d3412e7c7f60bd6dfd1b97614e6d40bf SHA512 0e63ed951ae1032c2ee29b36f2df5b2edba10d9993bccc2baacc378f82201f5afc38cfc5ffce234b5a8dcaac51ece1967c76a7ae30af0286c8083f0aa8b1573a diff --git a/app-text/pandoc-bin/pandoc-bin-3.1.4.ebuild b/app-text/pandoc-bin/pandoc-bin-3.1.4.ebuild new file mode 100644 index 000000000000..f5289c741e6a --- /dev/null +++ b/app-text/pandoc-bin/pandoc-bin-3.1.4.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 +} |