blob: 614fb7a6234312e16319ab6366af37a2ed79f330 (
plain)
1 # Description: Conversion between markup formats, "Bin"-Edition
2 # URL: https://pandoc.org
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: cmark
5 # Optional: texlive
6
7 name=pandoc-bin
8 version=2.19.2
9 release=1
10 source=(https://github.com/jgm/pandoc/releases/download/$version/pandoc-$version-linux-amd64.tar.gz
11 https://github.com/jgm/pandoc/archive/$version/pandoc-$version.tar.gz)
12
13 build() {
14 cd pandoc-$version
15 mkdir -p $PKG/usr/share/pandoc
16 cp -R bin share $PKG/usr
17
18 cp -R data $PKG/usr/share/pandoc
19 find $PKG -iname '*README*' -delete
20 find $PKG/usr/share/pandoc/data/translations \(\
21 -not -type d \
22 -not -name en.yaml \) -exec rm '{}' \+
23 }
|