summaryrefslogtreecommitdiffstats
path: root/libraries/pugixml/pugixml.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2017-01-22 17:48:27 +0100
committer Willy Sudiarto Raharjo2017-01-24 01:23:01 +0100
commitf3abb57bd7d15a78fc07702f681402fc48f499c7 (patch)
tree8a8ad02755a1b362e87b526734e1a493b4c8c419 /libraries/pugixml/pugixml.SlackBuild
parentc70049e28a4758d97cae7650b3e9ee0fc4880156 (diff)
downloadslackbuilds-f3abb57bd7d15a78fc07702f681402fc48f499c7.tar.gz
libraries/pugixml: Updated for version 1.8.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/pugixml/pugixml.SlackBuild')
-rw-r--r--libraries/pugixml/pugixml.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/libraries/pugixml/pugixml.SlackBuild b/libraries/pugixml/pugixml.SlackBuild
index d51cdd70b1..48dd8f5eef 100644
--- a/libraries/pugixml/pugixml.SlackBuild
+++ b/libraries/pugixml/pugixml.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pugixml
-# Copyright 2015-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2015-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pugixml
-VERSION=${VERSION:-1.8}
+VERSION=${VERSION:-1.8.1}
+MAJVER=1.8
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $PRGNAM-$MAJVER
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+cd $PRGNAM-$MAJVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \