summaryrefslogtreecommitdiffstats
path: root/perl/perl-www-mechanize/perl-www-mechanize.SlackBuild
diff options
context:
space:
mode:
author Binh Nguyen <binhnguyen@fastmail.fm>2011-07-19 11:04:01 -0300
committer Robby Workman <rworkman@slackbuilds.org>2011-07-21 22:52:12 -0500
commit19f3f07d8498ea4d948bc161bc728143b2d674df (patch)
treea7911724eec1c52d4857bd0b0158b52643ca12c1 /perl/perl-www-mechanize/perl-www-mechanize.SlackBuild
parentc04f8e1cf0d7d88635b35348c595fd0a103cf7e7 (diff)
downloadslackbuilds-19f3f07d8498ea4d948bc161bc728143b2d674df.tar.gz
slackbuilds-19f3f07d8498ea4d948bc161bc728143b2d674df.tar.xz
perl/perl-www-mechanize: Updated for version 1.68.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'perl/perl-www-mechanize/perl-www-mechanize.SlackBuild')
-rw-r--r--perl/perl-www-mechanize/perl-www-mechanize.SlackBuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/perl/perl-www-mechanize/perl-www-mechanize.SlackBuild b/perl/perl-www-mechanize/perl-www-mechanize.SlackBuild
index 02eaeaef5c..343aa375b1 100644
--- a/perl/perl-www-mechanize/perl-www-mechanize.SlackBuild
+++ b/perl/perl-www-mechanize/perl-www-mechanize.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for perl-www-mechanize
-# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm>
+# Copyright 2010-2011 Binh Nguyen <binhnguyen@fastmail.fm>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-www-mechanize
-VERSION=${VERSION:-1.66}
+VERSION=${VERSION:-1.68}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,11 +71,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mv $PKG/usr/share/man/man1 $PKG/usr/man ; rm -rf $PKG/usr/share
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
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION