summaryrefslogtreecommitdiff
path: root/network/gui-ufw/gui-ufw.SlackBuild
diff options
context:
space:
mode:
authorSkaendo <skaendo@linuxmail.org>2018-07-06 23:11:09 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-07-06 23:12:12 +0100
commit5ffc0ff341b8fa99dbd48813f63817f79a6f648f (patch)
treeeb22657818ae9288f2b5670b2dac956a8a41e0ce /network/gui-ufw/gui-ufw.SlackBuild
parentb10e56dd046c5782b28e3dc32a434fd9132637d6 (diff)
downloadslackbuilds-5ffc0ff341b8fa99dbd48813f63817f79a6f648f.tar.gz
network/gui-ufw: Amend SlackBuild, new maintainer email.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/gui-ufw/gui-ufw.SlackBuild')
-rw-r--r--network/gui-ufw/gui-ufw.SlackBuild12
1 files changed, 7 insertions, 5 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