mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
app-text/pandoc-bin: bump to 3.8.3
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
26b22162cc
commit
b34d00232c
@ -1,2 +1,4 @@
|
||||
DIST pandoc-3.8.2.1-linux-amd64.tar.gz 34236950 BLAKE2B c8211a6fed3161dada21ea8dfe58aadb064bca6514c7aa3910c6c3d72f457439972a43ccdd4df0f898af9105b83c5373bc083c8b2b9f6bc004ebaed0b94a931c SHA512 b2b9147153878ad53fb904a95c764f15c123563f24441e3f1b712094e352205438ce4ee2d154da532ae40c3a055d35f5c456347575ffc7d687e18726651bac2e
|
||||
DIST pandoc-3.8.2.1-linux-arm64.tar.gz 37169916 BLAKE2B 00965b17e165183cebac7e4eed1c5c84ed67087471350e5ba7d119a46eebd75751dd302fd3d81491bb38d4c3d66a624e04e6429f6bb564f0669756a3fb737a7a SHA512 d82991de1dcb23f6985b26ef2f2118912044878d486460101c24fe27f5d7290139851d31a2ac3191cc633ef56ce0371cc95b805e6b899a74e8d610b56cd2c530
|
||||
DIST pandoc-3.8.3-linux-amd64.tar.gz 34949607 BLAKE2B 4ede6aff3a09cec1931296c7034fbbdf8a0a44e77aae5c40d901493bc34e6ef20582860e9df779ef11108ef76d12402df49487fa1e653fbe11386d566abc2c62 SHA512 838786d4b6bc83f8d83c802a5997985f4b82a12fa11fdf846bd27a423b7819175a82ba94f3cfe04dddacad60be840a9e7476b5b91ca0dd8d7bac203e26362302
|
||||
DIST pandoc-3.8.3-linux-arm64.tar.gz 37949860 BLAKE2B 104d3ba3b906180e761f1d82e9752ad8f8a6a57771db2ece5f4e12694884d576c7e7846dee711362658a515660d0f84b84b1637d1d23084a4a5865090eb94f91 SHA512 49156d471c4b4e5009e9471c6b6f984bfc198d28c5c591278acb1a35d26424a1a2d9df8ad8b9d3714ef463fd807dbe3fd6f2919fd2088e6f6bc9458fb5a230b1
|
||||
|
||||
67
app-text/pandoc-bin/pandoc-bin-3.8.3.ebuild
Normal file
67
app-text/pandoc-bin/pandoc-bin-3.8.3.ebuild
Normal file
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2025 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}.1" "${PN}.1"
|
||||
newman "${WORKDIR}/${MY_PN}-lua.1" pandoc-lua-bin.1
|
||||
newman "${WORKDIR}/${MY_PN}-server.1" pandoc-server-bin.1
|
||||
|
||||
if use pandoc-symlink ; then
|
||||
local -a exes=(
|
||||
pandoc
|
||||
pandoc-lua
|
||||
pandoc-server
|
||||
)
|
||||
|
||||
local exe=""
|
||||
for exe in "${exes[@]}" ; do
|
||||
dosym "${exe}-bin" "/usr/bin/${exe}"
|
||||
dosym "${exe}-bin.1" "/usr/share/man/man1/${exe}.1"
|
||||
done
|
||||
fi
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user