summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-gnome2/README2
-rw-r--r--perl/perl-gnome2/perl-gnome2.SlackBuild26
-rw-r--r--perl/perl-gnome2/perl-gnome2.info10
-rw-r--r--perl/perl-gnome2/slack-desc4
4 files changed, 22 insertions, 20 deletions
diff --git a/perl/perl-gnome2/README b/perl/perl-gnome2/README
index c209fa29cf..3252d7878f 100644
--- a/perl/perl-gnome2/README
+++ b/perl/perl-gnome2/README
@@ -1 +1,3 @@
+perl-gnome2 (perl module)
+
Perl bindings to the 2.x series of the GNOME libraries.
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
diff --git a/perl/perl-gnome2/perl-gnome2.info b/perl/perl-gnome2/perl-gnome2.info
index 91c5f54bd9..185e5bb258 100644
--- a/perl/perl-gnome2/perl-gnome2.info
+++ b/perl/perl-gnome2/perl-gnome2.info
@@ -1,10 +1,10 @@
PRGNAM="perl-gnome2"
-VERSION="1.045"
+VERSION="1.046"
HOMEPAGE="https://metacpan.org/pod/Gnome2"
-DOWNLOAD="http://www.cpan.org/authors/id/X/XA/XAOC/Gnome2-1.045.tar.gz"
-MD5SUM="95c06139f9d950df17c9cb0340c74168"
+DOWNLOAD="http://www.cpan.org/authors/id/X/XA/XAOC/Gnome2-1.046.tar.gz"
+MD5SUM="abb820a474237f6c8d6c2dc19ba3c1e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libgnomeui perl-gnome2-canvas perl-gnome2-vfs"
-MAINTAINER="Glenn Becker"
-EMAIL="glenn.becker@gmail.com"
+MAINTAINER="Edinaldo P. Silva"
+EMAIL="edps.mundognu@gmail.com"
diff --git a/perl/perl-gnome2/slack-desc b/perl/perl-gnome2/slack-desc
index ce52c75100..55ad352c15 100644
--- a/perl/perl-gnome2/slack-desc
+++ b/perl/perl-gnome2/slack-desc
@@ -6,11 +6,11 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-perl-gnome2: perl-gnome2 (perl module)
+perl-gnome2: perl-gnome2 (Perl bindings for Gnome libraries)
perl-gnome2:
perl-gnome2: Perl bindings to the 2.x series of the GNOME libraries.
perl-gnome2:
-perl-gnome2: Homepage: http://search.cpan.org/dist/Gnome2/
+perl-gnome2: Home page: https://metacpan.org/pod/Gnome2
perl-gnome2:
perl-gnome2:
perl-gnome2: