aboutsummaryrefslogtreecommitdiff
path: root/libraries/poco/poco.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/poco/poco.SlackBuild')
-rw-r--r--libraries/poco/poco.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/poco/poco.SlackBuild b/libraries/poco/poco.SlackBuild
index 41f1300966d2..457da28377dc 100644
--- a/libraries/poco/poco.SlackBuild
+++ b/libraries/poco/poco.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=poco
-VERSION=${VERSION:-1.4.6p2}
-SRCVERSION=$VERSION-all
+SRCVER=${SRCVER:-1.4.6p3-all}
+VERSION=$(echo $SRCVER | cut -c1-7)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVERSION
-tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
-cd $PRGNAM-$SRCVERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \