2019-06-11 23:45:48 +02:00
|
|
|
# Description: Conversion between markup formats, "Bin"-Edition
|
2020-06-01 15:45:48 +00:00
|
|
|
# URL: https://pandoc.org
|
2019-06-11 23:45:48 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: cmark
|
|
|
|
# Optional: texlive pandoc-citeproc
|
|
|
|
|
|
|
|
name=pandoc-bin
|
2020-07-24 05:28:26 +00:00
|
|
|
version=2.10.1
|
2019-06-11 23:45:48 +02:00
|
|
|
release=1
|
2019-11-23 17:40:54 +01:00
|
|
|
source=(https://github.com/jgm/pandoc/releases/download/$version/pandoc-$version-linux-amd64.tar.gz
|
2019-06-11 23:45:48 +02:00
|
|
|
https://github.com/jgm/pandoc/archive/$version/pandoc-$version.tar.gz
|
|
|
|
)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd pandoc-$version
|
|
|
|
mkdir -p $PKG/usr/share/pandoc
|
|
|
|
cp -R bin share $PKG/usr
|
|
|
|
|
|
|
|
rm $PKG/usr/bin/pandoc-citeproc $PKG/usr/share/man/man1/pandoc-citeproc.1.gz
|
|
|
|
cp -R data $PKG/usr/share/pandoc
|
|
|
|
find $PKG -iname '*README*' -delete
|
|
|
|
}
|