summaryrefslogtreecommitdiffstats
path: root/libraries/CondConfigParser/CondConfigParser.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/CondConfigParser/CondConfigParser.SlackBuild')
-rw-r--r--libraries/CondConfigParser/CondConfigParser.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/libraries/CondConfigParser/CondConfigParser.SlackBuild b/libraries/CondConfigParser/CondConfigParser.SlackBuild
index 896d3c2b0c..35c34df94f 100644
--- a/libraries/CondConfigParser/CondConfigParser.SlackBuild
+++ b/libraries/CondConfigParser/CondConfigParser.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for CondConfigParser
-# Copyright 2015-2017 Philip Lacroix <slackph at posteo dot de>
+# Copyright 2015-2023 Philip Lacroix <slackph at posteo dot de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=CondConfigParser
-VERSION=${VERSION:-1.0.3}
+SRCNAM=python3-CondConfigParser
+VERSION=${VERSION:-1.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,16 +39,13 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
TMP=${TMP:-/tmp/SBo}
-PKG=${PKG:-$TMP/package-$PRGNAM}
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
@@ -56,7 +54,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvjf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvzf $CWD/$SRCNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .