summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/gui-ufw/gui-ufw.SlackBuild12
-rw-r--r--network/gui-ufw/gui-ufw.info2
2 files changed, 8 insertions, 6 deletions
diff --git a/network/gui-ufw/gui-ufw.SlackBuild b/network/gui-ufw/gui-ufw.SlackBuild
index 8b80695069..10ad508460 100644
--- a/network/gui-ufw/gui-ufw.SlackBuild
+++ b/network/gui-ufw/gui-ufw.SlackBuild
@@ -1,7 +1,8 @@
#!/bin/sh
# Slackware build script for gui-ufw
-# Copyright 2018 Skaendo <skaendo at excite dot com>
+
+# Copyright 2018 Skaendo <skaendo@linuxmail.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -10,7 +11,7 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
@@ -23,7 +24,7 @@
PRGNAM=gui-ufw
VERSION=${VERSION:-18.04.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -71,7 +72,7 @@ find -L . \
# Point gufw-pkexec to the correct python3 location and version.
sed -i "s|lib/python3.5|lib$LIBDIRSUFFIX/python3.6|g" bin/gufw-pkexec
-python3 setup.py install --root=$PKG
+python3 setup.py install --prefix=/usr --root=$PKG
# Move the manpage to a sane directory.
mv $PKG/usr/share/man $PKG/usr
@@ -87,7 +88,8 @@ 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 $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING.GPL3 INSTALL README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/network/gui-ufw/gui-ufw.info b/network/gui-ufw/gui-ufw.info
index dc2b81993a..171d7bb7b2 100644
--- a/network/gui-ufw/gui-ufw.info
+++ b/network/gui-ufw/gui-ufw.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python-distutils-extra pygobject3-python3 ufw webkit2gtk"
MAINTAINER="Skaendo"
-EMAIL="skaendo at excite dot com"
+EMAIL="skaendo@linuxmail.org"