From 27dbafc3552afbff2e4c30fd57431f8f1f92c7be Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Sun, 12 Mar 2017 12:00:46 +0000 Subject: perl/perl-gnome2: Updated for version 1.046 + new maintainer. Signed-off-by: David Spencer --- perl/perl-gnome2/perl-gnome2.SlackBuild | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'perl/perl-gnome2/perl-gnome2.SlackBuild') 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 +# Copyright 2015-2017 Glenn Becker +# 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 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 -- cgit v1.2.3