aboutsummaryrefslogtreecommitdiff
path: root/network/gui-ufw/gui-ufw.SlackBuild
diff options
context:
space:
mode:
authorSkaendo <skaendo@linuxmail.org>2019-08-13 05:57:54 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-13 05:57:54 +0700
commiteb7d13a2c5335e06ab9d5e1a30f9a03e07ed3102 (patch)
tree6b05f72a350020cc22487af1715192ccd9edbe0a /network/gui-ufw/gui-ufw.SlackBuild
parent367632a9908e7fae4f6e426a644ed313fb314899 (diff)
network/gui-ufw: Updated for version 19.10.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/gui-ufw/gui-ufw.SlackBuild')
-rw-r--r--network/gui-ufw/gui-ufw.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/network/gui-ufw/gui-ufw.SlackBuild b/network/gui-ufw/gui-ufw.SlackBuild
index 01c761036948e..6c6b13d41800f 100644
--- a/network/gui-ufw/gui-ufw.SlackBuild
+++ b/network/gui-ufw/gui-ufw.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gui-ufw
-# Copyright 2018 Skaendo <skaendo@linuxmail.org>
+# Copyright 2018, 2019 Skaendo <skaendo@linuxmail.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gui-ufw
-VERSION=${VERSION:-18.10.0}
+VERSION=${VERSION:-19.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
+mkdir $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,7 +70,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Point gufw-pkexec to the correct python3 location and version.
-sed -i "s|lib/python3.5|lib$LIBDIRSUFFIX/python3.6|g" bin/gufw-pkexec
+sed -i "s|lib/python3.5|lib$LIBDIRSUFFIX/python3.7|g" bin/gufw-pkexec
python3 setup.py install --prefix=/usr --root=$PKG
@@ -87,7 +87,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING.GPL3 INSTALL README \
+cp -a COPYING* README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild