forked from ports/contrib
23 lines
666 B
Plaintext
23 lines
666 B
Plaintext
# Description: Conversion between markup formats, "Bin"-Edition
|
|
# URL: http://pandoc.org
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: cmark
|
|
# Optional: texlive pandoc-citeproc
|
|
|
|
name=pandoc-bin
|
|
version=2.8
|
|
release=1
|
|
source=(https://github.com/jgm/pandoc/releases/download/$version/pandoc-$version-linux-amd64.tar.gz
|
|
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
|
|
}
|