summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl/perl-pango/README2
-rw-r--r--perl/perl-pango/perl-pango.SlackBuild26
-rw-r--r--perl/perl-pango/perl-pango.info4
-rw-r--r--perl/perl-pango/slack-desc4
4 files changed, 19 insertions, 17 deletions
diff --git a/perl/perl-pango/README b/perl/perl-pango/README
index 723ece4e46..7dfa669c28 100644
--- a/perl/perl-pango/README
+++ b/perl/perl-pango/README
@@ -1 +1,3 @@
+perl-pango (Layout and render international text)
+
Perl bindings to the Pango library.
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
diff --git a/perl/perl-pango/perl-pango.info b/perl/perl-pango/perl-pango.info
index 624d77ac0d..02934cf5f4 100644
--- a/perl/perl-pango/perl-pango.info
+++ b/perl/perl-pango/perl-pango.info
@@ -6,5 +6,5 @@ MD5SUM="cc5d7ca7780adcc5cee7cc41f2fc0440"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-cairo perl-glib"
-MAINTAINER="Glenn Becker"
-EMAIL="glenn.becker@gmail.com"
+MAINTAINER="Edinaldo P. Silva"
+EMAIL="edps.mundognu@gmail.com"
diff --git a/perl/perl-pango/slack-desc b/perl/perl-pango/slack-desc
index edebf14bd6..af04bf368e 100644
--- a/perl/perl-pango/slack-desc
+++ b/perl/perl-pango/slack-desc
@@ -6,11 +6,11 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-perl-pango: perl-pango (perl module)
+perl-pango: perl-pango (Layout and render international text)
perl-pango:
perl-pango: Perl bindings to the Pango library.
perl-pango:
-perl-pango: Homepage: http://search.cpan.org/dist/Pango/
+perl-pango: Homepage: https://metacpan.org/pod/Pango
perl-pango:
perl-pango:
perl-pango: