summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-03-12 16:31:24 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-18 06:58:22 +0700
commit19e8d96302fa8ad0dea306ea02186c498b92c151 (patch)
tree0b5e4a9faf421cc75e5c14b691f281527e72e328
parent9010147307d3959a42352369341f3403721e975a (diff)
downloadslackbuilds-19e8d96302fa8ad0dea306ea02186c498b92c151.tar.gz
perl/perl-gnome2-wnck: New maintainer + switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--perl/perl-gnome2-wnck/README2
-rw-r--r--perl/perl-gnome2-wnck/perl-gnome2-wnck.SlackBuild26
-rw-r--r--perl/perl-gnome2-wnck/perl-gnome2-wnck.info4
-rw-r--r--perl/perl-gnome2-wnck/slack-desc4
4 files changed, 19 insertions, 17 deletions
diff --git a/perl/perl-gnome2-wnck/README b/perl/perl-gnome2-wnck/README
index f939d5b7b8..5d8445e8fe 100644
--- a/perl/perl-gnome2-wnck/README
+++ b/perl/perl-gnome2-wnck/README
@@ -1 +1,3 @@
+perl-gnome2-wnck (Perl interface to the libwnck)
+
Perl bindings to the Window Navigator Construction Kit (libwnck).
diff --git a/perl/perl-gnome2-wnck/perl-gnome2-wnck.SlackBuild b/perl/perl-gnome2-wnck/perl-gnome2-wnck.SlackBuild
index 6c92ca72e1..d5b8d5cf8c 100644
--- a/perl/perl-gnome2-wnck/perl-gnome2-wnck.SlackBuild
+++ b/perl/perl-gnome2-wnck/perl-gnome2-wnck.SlackBuild
@@ -1,11 +1,12 @@
#!/bin/sh
-
-# Slackware build script for perl-gnome2-wnck
-
+#
+# Slackware build script for perl-gnome2-wnck.
+#
# Copyright 2010 Binh Nguyen <binhvng@gmail.com>
-# All rights reserved.
+# Copyright 2014-2017 Glenn Becker <glenn.becker@gmail.com>
+# Copyright 2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
#
-# Adoped 2014 by Glenn Becker <burningc@sdf.org>
+# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -26,14 +27,12 @@
PRGNAM=perl-gnome2-wnck
VERSION=${VERSION:-0.16}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-SRCNAM=Gnome2-Wnck
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -44,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"
@@ -58,7 +57,9 @@ else
LIBDIRSUFFIX=""
fi
-set -eu
+SRCNAM="Gnome2-Wnck"
+
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -88,7 +89,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-# 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
diff --git a/perl/perl-gnome2-wnck/perl-gnome2-wnck.info b/perl/perl-gnome2-wnck/perl-gnome2-wnck.info
index 46c1ab615d..6817a75916 100644
--- a/perl/perl-gnome2-wnck/perl-gnome2-wnck.info
+++ b/perl/perl-gnome2-wnck/perl-gnome2-wnck.info
@@ -6,5 +6,5 @@ MD5SUM="439f4569ffd7af96ef1d3feaab23760e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-gtk2"
-MAINTAINER="Glenn Becker"
-EMAIL="glenn.becker@gmail.com"
+MAINTAINER="Edinaldo P. Silva"
+EMAIL="edps.mundognu@gmail.com"
diff --git a/perl/perl-gnome2-wnck/slack-desc b/perl/perl-gnome2-wnck/slack-desc
index 167284723f..a8e717846d 100644
--- a/perl/perl-gnome2-wnck/slack-desc
+++ b/perl/perl-gnome2-wnck/slack-desc
@@ -6,11 +6,11 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-perl-gnome2-wnck: perl-gnome2-wnck (perl module)
+perl-gnome2-wnck: perl-gnome2-wnck (Perl interface to the libwnck)
perl-gnome2-wnck:
perl-gnome2-wnck: Perl bindings to the Window Navigator Construction Kit (libwnck).
perl-gnome2-wnck:
-perl-gnome2-wnck: Homepage: http://search.cpan.org/dist/Gnome2-Wnck/
+perl-gnome2-wnck: Home page: https://metacpan.org/pod/Gnome2::Wnck
perl-gnome2-wnck:
perl-gnome2-wnck:
perl-gnome2-wnck: