summaryrefslogtreecommitdiff
path: root/pandoc-bin/Pkgfile
blob: 71dca1c554d1ff068d25e9246de0354dd0e5bbdd (plain)
    1 # Description: Conversion between markup formats, "Bin"-Edition
    2 # URL: http://pandoc.org
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: cmark
    5 # Optional: texlive pandoc-citeproc
    6 
    7 name=pandoc-bin
    8 version=2.9.2.1
    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 
   14 build() {
   15     cd pandoc-$version
   16     mkdir -p $PKG/usr/share/pandoc
   17     cp -R bin share $PKG/usr
   18 
   19     rm $PKG/usr/bin/pandoc-citeproc $PKG/usr/share/man/man1/pandoc-citeproc.1.gz
   20     cp -R data $PKG/usr/share/pandoc
   21     find $PKG -iname '*README*' -delete
   22 }

Generated by cgit