mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
app-text/pandoc-bin: new package, add 2.18
Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
3
app-text/pandoc-bin/Manifest
Normal file
3
app-text/pandoc-bin/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
DIST pandoc-bin-2.18-amd64.tar.gz 16713899 BLAKE2B 89f2166fb93793c07af9d3ddff56767e4072500b80cd462a498f5534fdbfba974fa517fa05c3bfeaf44179cd23b6d53fc5daed5916f18fce13df4486040610ca SHA512 ec0285e9a1640e7594d5bdca3fcdc738b2139e20f4a4f75b0f49ff76d2d2f5a0e8b90912e63a93e787c57f18eb3d155f214f088e55b435ef03acb8cfbf92272b
|
||||
DIST pandoc-bin-2.18-arm64.tar.gz 18522530 BLAKE2B 84e2479a77c12ace90a93ed9b66be2abdec357e0b4338143db8a9318cd48e76852d9fc12ceb8bd795860412a2e98d11a4d1e54bf74bdf68494c699fd5878c818 SHA512 e2be1473edeba12996a9eb7af3fe7dfd860adb1054446d2b93db6d712708282424628b14fea8809dba903e93daa1626a0dc3e1304af33b77e9da298c8fd7885b
|
||||
DIST pandoc-bin-2.18-source.tar.gz 7319660 BLAKE2B 005c16d299d5e9492819dd18925cf27862931493598d189eb970ad4a89dda038c27d69c4834cfb4a0a5f96c50ea4dbc8c6f0e3b9c7f9ae110427911441e231e3 SHA512 44f0d51a37943057385009291315de603f10a8d094fd36146ddc42fd2937413500b77e2df13d4d9d1c6b1a333895887983d3620f5ad2adfbc3b6d681920dee40
|
||||
17
app-text/pandoc-bin/metadata.xml
Normal file
17
app-text/pandoc-bin/metadata.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>me@r0bert.dev</email>
|
||||
<name>Robert Greener</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">A binary version of pandoc, as provided by upstream, so that ~170 haskell dependencies are not required.</longdescription>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>John MacFarlane</name>
|
||||
<email>jgm@berkeley.edu</email>
|
||||
</maintainer>
|
||||
<bugs-to>https://github.com/jgm/pandoc/issues</bugs-to>
|
||||
<remote-id type="github">jgm/pandoc</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
42
app-text/pandoc-bin/pandoc-bin-2.18.ebuild
Normal file
42
app-text/pandoc-bin/pandoc-bin-2.18.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Unviersal markup converter pandoc without ~170 haskell dependencies"
|
||||
|
||||
HOMEPAGE="https://github.com/jgm/pandoc"
|
||||
|
||||
SRC_URI="
|
||||
https://github.com/jgm/pandoc/archive/${PV}.tar.gz -> ${P}-source.tar.gz
|
||||
amd64? ( https://github.com/jgm/pandoc/releases/download/${PV}/pandoc-${PV}-linux-amd64.tar.gz -> ${P}-amd64.tar.gz )
|
||||
arm64? ( https://github.com/jgm/pandoc/releases/download/${PV}/pandoc-${PV}-linux-arm64.tar.gz -> ${P}-arm64.tar.gz )
|
||||
"
|
||||
|
||||
# License of the package. This must match the name of file(s) in the
|
||||
# licenses/ directory. For complex license combination see the developer
|
||||
# docs on gentoo.org for details.
|
||||
LICENSE="GPL-2+ BSD GPL-3+ WTFPL MIT"
|
||||
|
||||
SLOT="0"
|
||||
DEPEND="!!app-text/pandoc"
|
||||
|
||||
KEYWORDS="-* ~amd64 ~arm64"
|
||||
S="${WORKDIR}/pandoc-${PV}"
|
||||
|
||||
src_compile() {
|
||||
true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
gunzip "${S}/share/man/man1/pandoc.1.gz"
|
||||
|
||||
doman "${S}/share/man/man1/pandoc.1"
|
||||
dobin "${S}/bin/pandoc"
|
||||
|
||||
insinto /usr/share/pandoc
|
||||
doins -r "${WORKDIR}/pandoc-${PV}/data"
|
||||
doins COPYRIGHT
|
||||
dodoc MANUAL.txt
|
||||
}
|
||||
Reference in New Issue
Block a user