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
|
2020-10-12 15:23:12 +00:00
|
|
|
# Optional: texlive
|
2019-06-11 23:45:48 +02:00
|
|
|
|
|
|
|
name=pandoc-bin
|
2023-10-28 10:47:17 +02:00
|
|
|
version=3.1.9
|
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
|
2020-10-12 15:23:12 +00:00
|
|
|
https://github.com/jgm/pandoc/archive/$version/pandoc-$version.tar.gz)
|
2019-06-11 23:45:48 +02:00
|
|
|
|
|
|
|
build() {
|
2020-10-12 15:23:12 +00:00
|
|
|
cd pandoc-$version
|
2023-04-15 10:27:04 +02:00
|
|
|
|
2020-10-12 15:23:12 +00:00
|
|
|
mkdir -p $PKG/usr/share/pandoc
|
|
|
|
cp -R bin share $PKG/usr
|
|
|
|
cp -R data $PKG/usr/share/pandoc
|
2023-04-15 10:27:04 +02:00
|
|
|
|
2020-10-12 15:23:12 +00:00
|
|
|
find $PKG -iname '*README*' -delete
|
|
|
|
find $PKG/usr/share/pandoc/data/translations \(\
|
|
|
|
-not -type d \
|
|
|
|
-not -name en.yaml \) -exec rm '{}' \+
|
2019-06-11 23:45:48 +02:00
|
|
|
}
|