diff options
author | Andrew Payne <phalange@komputermatrix.com> | 2020-11-28 00:18:08 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-11-29 01:02:56 +0700 |
commit | 1625ad07de083fcd242d06661fbc49f1eb9d3ab2 (patch) | |
tree | cf8f15362eef0dd7d866415a5d268989a7c0b48f /office/pandoc-bin/pandoc-bin.SlackBuild | |
parent | d7563238c6ae43e46f17c655ed3b90938bdabe0c (diff) | |
download | slackbuilds-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>
Diffstat (limited to 'office/pandoc-bin/pandoc-bin.SlackBuild')
-rw-r--r-- | office/pandoc-bin/pandoc-bin.SlackBuild | 16 |
1 files changed, 6 insertions, 10 deletions
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 |