aboutsummaryrefslogtreecommitdiff
path: root/office/pandoc-bin/pandoc-bin.SlackBuild
diff options
context:
space:
mode:
authorAndrew Payne <phalange@komputermatrix.com>2019-04-27 04:52:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-04-27 04:52:17 +0700
commit1a2d63108986ccf5bf51e0bf14aec8b943faebed (patch)
treeaa0318397219e4dfc739a6f1e486cee3ba616ecc /office/pandoc-bin/pandoc-bin.SlackBuild
parentacd3e150e2dfb7732bca61476e8ea4701d036fcc (diff)
office/pandoc-bin: Updated for version 2.7.2.
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.SlackBuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/office/pandoc-bin/pandoc-bin.SlackBuild b/office/pandoc-bin/pandoc-bin.SlackBuild
index 4b53f789b8c26..bcebb6cc0a150 100644
--- a/office/pandoc-bin/pandoc-bin.SlackBuild
+++ b/office/pandoc-bin/pandoc-bin.SlackBuild
@@ -22,9 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=pandoc-bin
-SRCNAM=pandoc
-VERSION=${VERSION:-2.7.1}
+PRGNAM=pandoc
+VERSION=${VERSION:-2.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,9 +51,9 @@ OUTPUT=${OUTPUT:-/tmp}
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION-linux.tar.gz
-cd $SRCNAM-$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION-linux.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -68,11 +67,11 @@ 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
+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.SlackBuild
+cat $CWD/$PRGNAM-bin.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-bin.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc