app-text/pandoc-bin: nev package; add version 2.10.1
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
parent
bda732e88f
commit
ad95703dae
1
app-text/pandoc-bin/Manifest
Normal file
1
app-text/pandoc-bin/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST pandoc-2.10.1-linux-amd64.tar.gz 24738243 BLAKE2B b139274bbce6c8ee57ab9a29d6bd1bab23b543a8e93841dfa2f5640b944a5e927360517d9e9f840c73a6ca1455d678ef780577279f9cea34ea985ba2298de2c9 SHA512 5de8bcdf4c008e4521432cd4af86e7b8f6e309b8373a43b8d51b91825a1cc7e05fd59c24ef606b5ea92403383c9c5cb565f3c5f4335148b30cd4bc92211a7b83
|
11
app-text/pandoc-bin/metadata.xml
Normal file
11
app-text/pandoc-bin/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@protonmail.com</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">jgm/pandoc</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
45
app-text/pandoc-bin/pandoc-bin-2.10.1.ebuild
Normal file
45
app-text/pandoc-bin/pandoc-bin-2.10.1.ebuild
Normal file
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="${PN//-bin/}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Universal markup converter"
|
||||
HOMEPAGE="https://pandoc.org"
|
||||
SRC_URI="https://github.com/jgm/${MY_PN}/releases/download/${PV}/${MY_P}-linux-amd64.tar.gz"
|
||||
|
||||
RESTRICT="mirror bindist"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
!app-text/${MY_PN}
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
usr/bin/${MY_PN}
|
||||
usr/bin/${MY_PN}-citeproc
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
# manpages are gzipped
|
||||
find . -name "*.gz" | xargs gunzip
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}/bin" || die
|
||||
dobin "${MY_PN}"
|
||||
dobin "${MY_PN}-citeproc"
|
||||
|
||||
cd "${S}/share/man/man1" || die
|
||||
doman "${MY_PN}.1"
|
||||
doman "${MY_PN}-citeproc.1"
|
||||
}
|
Loading…
Reference in New Issue
Block a user