summaryrefslogtreecommitdiff
path: root/perl/perl-www-mechanize/perl-www-mechanize.SlackBuild
diff options
context:
space:
mode:
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