pkgbuild-pandoc-bin

Conversion between markup formats
git clone git://fossdaily.xyz/pkgbuild-pandoc-bin
Log | Files | Refs

commit 1b3d3838a4d12f5a0ef8d2f98d3042a213c70810
Author: caltlgin <contact@fossdaily.xyz>
Date:   Wed, 18 Nov 2020 17:05:53 +1300

Add to caltlgin repo

Diffstat:
A.SRCINFO | 17+++++++++++++++++
A.gitignore | 4++++
APKGBUILD | 32++++++++++++++++++++++++++++++++
3 files changed, 53 insertions(+), 0 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = pandoc-bin + pkgdesc = Conversion between markup formats + pkgver = 2.11.1.1 + pkgrel = 2 + url = https://pandoc.org + arch = x86_64 + license = GPL3 + optdepends = texlive-core: for pdf output + provides = pandoc + conflicts = pandoc + source = pandoc-2.11.1.1-bin.tar.gz::https://github.com/jgm/pandoc/releases/download/2.11.1.1/pandoc-2.11.1.1-linux-amd64.tar.gz + source = pandoc-2.11.1.1-source.tar.gz::https://github.com/jgm/pandoc/archive/2.11.1.1.tar.gz + sha256sums = b2f0a23519477c9b83aebefe71dd02d3b342a668e9fea00202e34864654f34f7 + sha256sums = c024b3102f4f3419f0f50622735d471cb1e98559195f1f4df53a0a7504f6e468 + +pkgname = pandoc-bin + diff --git a/.gitignore b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD diff --git a/PKGBUILD b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz> + +# ref: https://aur.archlinux.org/packages/pandoc-bin + +_pkgname='pandoc' +pkgname="${_pkgname}-bin" +pkgver=2.11.1.1 +pkgrel=2 +pkgdesc='Conversion between markup formats' +arch=('x86_64') +url='https://pandoc.org' +_url_source='https://github.com/jgm/pandoc' +license=('GPL3') +optdepends=('texlive-core: for pdf output') +provides=("${_pkgname}") +conflicts=("${_pkgname}") +source=("${_pkgname}-${pkgver}-bin.tar.gz::${_url_source}/releases/download/${pkgver}/${_pkgname}-${pkgver}-linux-amd64.tar.gz" + "${_pkgname}-${pkgver}-source.tar.gz::${_url_source}/archive/${pkgver}.tar.gz") +sha256sums=('b2f0a23519477c9b83aebefe71dd02d3b342a668e9fea00202e34864654f34f7' + 'c024b3102f4f3419f0f50622735d471cb1e98559195f1f4df53a0a7504f6e468') + +package() { + cd "${_pkgname}-${pkgver}" + install -Dvm755 "bin/${_pkgname}" -t "${pkgdir}/usr/bin" + install -Dvm644 "share/man/man1/${_pkgname}.1.gz" -t "${pkgdir}/usr/share/man/man1" + install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${_pkgname}" + install -Dvm644 {'COPYRIGHT','MANUAL.txt'} -t "${pkgdir}/usr/share/${_pkgname}" + cp -rfv 'data' -t "${pkgdir}/usr/share/${_pkgname}" + rm -rf "${pkgdir}/usr/share/${_pkgname}/data/templates/"{'.github','README.markdown'} +} + +# vim: ts=2 sw=2 et: