summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Payne <phalange@komputermatrix.com>2020-11-28 00:18:08 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-11-29 01:02:56 +0700
commit1625ad07de083fcd242d06661fbc49f1eb9d3ab2 (patch)
treecf8f15362eef0dd7d866415a5d268989a7c0b48f
parentd7563238c6ae43e46f17c655ed3b90938bdabe0c (diff)
downloadslackbuilds-1625ad07de083fcd242d06661fbc49f1eb9d3ab2.tar.gz
office/pandoc-bin: Updated for version 2.11.2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--office/pandoc-bin/README82
-rw-r--r--office/pandoc-bin/pandoc-bin.SlackBuild16
-rw-r--r--office/pandoc-bin/pandoc-bin.info6
3 files changed, 50 insertions, 54 deletions
diff --git a/office/pandoc-bin/README b/office/pandoc-bin/README
index 37a33413ea..c9bd8189e7 100644
--- a/office/pandoc-bin/README
+++ b/office/pandoc-bin/README
@@ -1,44 +1,44 @@
-If you need to convert files from one markup format into another,
-pandoc is your swiss-army knife.
+If you need to convert files from one markup format into another, pandoc
+is your swiss-army knife.
Pandoc can convert documents in (several dialects of) Markdown,
-reStructuredText, textile, HTML, DocBook, LaTeX, MediaWiki markup,
-TWiki markup, TikiWiki markup, DokuWiki markup, Creole 1.0, Vimwiki
-markup, roff man, OPML, Emacs Org-Mode, Emacs Muse, txt2tags,
-Microsoft Word docx, LibreOffice ODT, EPUB, Jupyter notebooks ipynb,
-or Haddock markup to
+reStructuredText, textile, HTML, DocBook, LaTeX, MediaWiki markup, TWiki
+markup, TikiWiki markup, DokuWiki markup, Creole 1.0, Vimwiki markup,
+roff man, OPML, Emacs Org-Mode, Emacs Muse, txt2tags, Microsoft Word
+docx, LibreOffice ODT, EPUB, Jupyter notebooks ipynb, or Haddock markup
+to
+HTML formats
+ XHTML, HTML5, and HTML slide shows using Slidy, reveal.js, Slideous,
+ S5, or DZSlides
+Word processor formats
+ Microsoft Word docx, OpenOffice/LibreOffice ODT, OpenDocument XML,
+ Microsoft PowerPoint.
+Ebooks
+ EPUB version 2 or 3, FictionBook2
+Documentation formats
+ DocBook version 4 or 5, TEI Simple, GNU TexInfo, roff man, roff ms,
+ Haddock markup
+Archival formats
+ JATS
+Page layout formats
+ InDesign ICML
+Outline formats
+ OPML
+TeX formats
+ LaTeX, ConTeXt, LaTeX Beamer slides
+PDF
+ via pdflatex, xelatex, lualatex, pdfroff, wkhtml2pdf, prince, or
+ weasyprint.
+Lightweight markup formats
+ Markdown (including CommonMark and GitHub-flavored Markdown),
+ reStructuredText, AsciiDoc, Emacs Org-Mode, Emacs Muse, Textile,
+ txt2tags, MediaWiki markup, DokuWiki markup, TikiWiki markup, TWiki
+ markup, Vimwiki markup, and ZimWiki markup.
+Interactive notebook formats
+ Jupyter notebook (ipynb)
+Custom formats
+ custom writers can be written in lua.
-HTML formats:
- XHTML, HTML5, and HTML slide shows using Slidy, reveal.js,
- Slideous, S5, or DZSlides
-Word processor formats:
- Microsoft Word docx, OpenOffice/LibreOffice ODT, OpenDocument XML,
- Microsoft PowerPoint.
-Ebooks:
- EPUB version 2 or 3, FictionBook2
-Documentation formats:
- DocBook version 4 or 5, TEI Simple, GNU TexInfo, roff man, roff
- ms, Haddock markup
-Archival formats:
- JATS
-Page layout formats:
- InDesign ICML
-Outline formats:
- OPML
-TeX formats:
- LaTeX, ConTeXt, LaTeX Beamer slides
-PDF:
- via pdflatex, xelatex, lualatex, pdfroff, wkhtml2pdf, prince,
- or weasyprint.
-Lightweight markup formats:
- Markdown (including CommonMark and GitHub-flavored Markdown),
- reStructuredText, AsciiDoc, Emacs Org-Mode, Emacs Muse, Textile,
- txt2tags, MediaWiki markup, DokuWiki markup, TikiWiki markup,
- TWiki markup, Vimwiki markup, and ZimWiki markup.
-Interactive notebook formats:
- Jupyter notebook (ipynb)
-Custom formats:
- custom writers can be written in lua.
-
-NOTE: This slackbuild repackages the official binary from the Pandoc
-GitHub. There are no additional dependencies.
+NOTE:
+This slackbuild repackages the official binary from the Pandoc GitHub.
+There are no additional dependencies.
diff --git a/office/pandoc-bin/pandoc-bin.SlackBuild b/office/pandoc-bin/pandoc-bin.SlackBuild
index 433fa9ce74..3d962a8181 100644
--- a/office/pandoc-bin/pandoc-bin.SlackBuild
+++ b/office/pandoc-bin/pandoc-bin.SlackBuild
@@ -24,12 +24,10 @@
PRGNAM=pandoc-bin
SRCNAM=pandoc
-VERSION=${VERSION:-2.11.1.1}
+VERSION=${VERSION:-2.11.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-set -e
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -45,31 +43,29 @@ else
exit 1
fi
+set -e
+
TMP=${TMP:-/tmp/SBo}
CWD=$(pwd)
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-mkdir -p $TMP $PKG $OUTPUT
+
+rm -rf $PKG
+mkdir -p $TMP $PKG/usr $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION-linux-amd64.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
-
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-rm -rf $PKG
-mkdir -p $PKG/usr/
cp -r bin $PKG/usr/
cp -r share/man $PKG/usr/
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/ -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-bin.SlackBuild
diff --git a/office/pandoc-bin/pandoc-bin.info b/office/pandoc-bin/pandoc-bin.info
index aa8638114c..7fe8ad9fee 100644
--- a/office/pandoc-bin/pandoc-bin.info
+++ b/office/pandoc-bin/pandoc-bin.info
@@ -1,10 +1,10 @@
PRGNAM="pandoc-bin"
-VERSION="2.11.1.1"
+VERSION="2.11.2"
HOMEPAGE="https://github.com/jgm/pandoc"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/jgm/pandoc/releases/download/2.11.1.1/pandoc-2.11.1.1-linux-amd64.tar.gz"
-MD5SUM_x86_64="3d9d06e7d788f34a671b8de8edb5ca39"
+DOWNLOAD_x86_64="https://github.com/jgm/pandoc/releases/download/2.11.2/pandoc-2.11.2-linux-amd64.tar.gz"
+MD5SUM_x86_64="6cf042236ed5e5cf177ee6ae2e236a06"
REQUIRES=""
MAINTAINER="Andrew Payne"
EMAIL="phalange@komputermatrix.com"