aboutsummaryrefslogtreecommitdiff
path: root/libraries/pugixml/pugixml.SlackBuild
diff options
context:
space:
mode:
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 d51cdd70b1e6..48dd8f5eefa6 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 \