summaryrefslogtreecommitdiff
path: root/perl/perl-gnome2/perl-gnome2.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-03-12 12:00:46 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-18 06:58:16 +0700
commit27dbafc3552afbff2e4c30fd57431f8f1f92c7be (patch)
tree9ee0859bc76c26b173cdd9372b45a460e0b8ebbe /perl/perl-gnome2/perl-gnome2.SlackBuild
parent03b32fed86a0000ebb2b8296c2d60cece9f0126c (diff)
downloadslackbuilds-27dbafc3552afbff2e4c30fd57431f8f1f92c7be.tar.gz
perl/perl-gnome2: Updated for version 1.046 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl/perl-gnome2/perl-gnome2.SlackBuild')
-rw-r--r--perl/perl-gnome2/perl-gnome2.SlackBuild26
1 files changed, 13 insertions, 13 deletions
diff --git a/perl/perl-gnome2/perl-gnome2.SlackBuild b/perl/perl-gnome2/perl-gnome2.SlackBuild
index 5bd9b8f319..f5212f623e 100644
--- a/perl/perl-gnome2/perl-gnome2.SlackBuild
+++ b/perl/perl-gnome2/perl-gnome2.SlackBuild
@@ -1,8 +1,11 @@
#!/bin/sh
-
-# Slackware build script for perl-gnome2
-
+#
+# Slackware build script for perl-gnome2.
+#
# Copyright 2010 Binh Nguyen <binhvng@gmail.com>
+# Copyright 2015-2017 Glenn Becker <glenn.becker@gmail.com>
+# Copyright 2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+#
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,18 +24,15 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Adopted by Glenn Becker <glenn.becker@gmail.com>
PRGNAM=perl-gnome2
-VERSION=${VERSION:-1.045}
+VERSION=${VERSION:-1.046}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM=Gnome2
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -43,8 +43,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -57,7 +57,9 @@ else
LIBDIRSUFFIX=""
fi
-set -eu
+SRCNAM="Gnome2"
+
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -86,8 +88,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
-# Remove perllocal.pod and other special files that don't need to be installed,
-# as they will overwrite what's already on the system
find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
# Remove empty directories