summaryrefslogtreecommitdiff
path: root/perl/perl-pango/perl-pango.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-03-12 16:48:03 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-18 06:58:22 +0700
commit1825c0e3de2953f1114392e6680905f6ccaf2044 (patch)
tree3d821c3048865a3d6be9b076a47bcb1810391258 /perl/perl-pango/perl-pango.SlackBuild
parent119ba6506057c8b1b543da73c37521c5fbe360dc (diff)
downloadslackbuilds-1825c0e3de2953f1114392e6680905f6ccaf2044.tar.gz
perl/perl-pango: New maintainer + switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl/perl-pango/perl-pango.SlackBuild')
-rw-r--r--perl/perl-pango/perl-pango.SlackBuild26
1 files changed, 13 insertions, 13 deletions
diff --git a/perl/perl-pango/perl-pango.SlackBuild b/perl/perl-pango/perl-pango.SlackBuild
index 772f07d606..ed18c9a86b 100644
--- a/perl/perl-pango/perl-pango.SlackBuild
+++ b/perl/perl-pango/perl-pango.SlackBuild
@@ -1,11 +1,13 @@
#!/bin/sh
-
-# Slackware build script for perl-pango
-
+#
+# Slackware build script for perl-pango.
+#
# Copyright 2010, 2012 Binh Nguyen <binhvng@gmail.com>
+# Copyright 2014-2017 Glenn Becker <glenn.becker@gmail.com>
+# Copyright 2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+#
# All rights reserved.
#
-# Updated for version 1.226 by Glenn Becker <glenn.becker@gmail.com>
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
@@ -25,14 +27,12 @@
PRGNAM=perl-pango
VERSION=${VERSION:-1.227}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-SRCNAM=Pango
-
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="Pango"
+
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -86,8 +88,6 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
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