summaryrefslogtreecommitdiffstats
path: root/perl-archive-zip/build/perl-archive-zip.SlackBuild
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2011-05-13 11:24:08 +0000
committer Eric Hameleers <alien@slackware.com>2011-05-13 11:24:08 +0000
commitf5742e0708b26ab2422ce95cc3675dfe3f147eb0 (patch)
treec6cf893e933fa08e2745ffb2e9d49d360286db1c /perl-archive-zip/build/perl-archive-zip.SlackBuild
parent695b2d8ad0324ae71b5e2677709056b3357656bc (diff)
downloadasb-f5742e0708b26ab2422ce95cc3675dfe3f147eb0.tar.gz
asb-f5742e0708b26ab2422ce95cc3675dfe3f147eb0.tar.xz
Update to 1.31_02
Diffstat (limited to '')
-rwxr-xr-xperl-archive-zip/build/perl-archive-zip.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-archive-zip/build/perl-archive-zip.SlackBuild b/perl-archive-zip/build/perl-archive-zip.SlackBuild
index d764a16b..e02d08e4 100755
--- a/perl-archive-zip/build/perl-archive-zip.SlackBuild
+++ b/perl-archive-zip/build/perl-archive-zip.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
# $Id$
-# Copyright 2010 Eric Hameleers, Eindhoven, NL
+# Copyright 2010, 2011 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -32,6 +32,8 @@
# Changelog:
# 1.31_01-1: 11/Oct/2010 by Eric Hameleers <alien@slackware.com>
# * Initial build.
+# 1.31_02-1: 13/may/2011 by Eric Hameleers <alien@slackware.com>
+# * Update.
#
# Run 'sh perl-archive-zip.SlackBuild' to build a Slackware package.
# The package (.tgz) and .txt file as well as build logs are created in /tmp .
@@ -43,7 +45,7 @@
PRGNAM=perl-archive-zip
SRCNAM=Archive-Zip
-VERSION=${VERSION:-1.31_01}
+VERSION=${VERSION:-1.31_02}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:" -j4 "}
TAG=${TAG:-alien}
@@ -163,7 +165,7 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f
find $PKG -depth -type d -empty -delete
# Compress the man page(s):
-mv $PKG/usr/share/man $PKG/usr/
+mv $PKG/usr/share/man $PKG/usr/ && rmdir $PKG/usr/share || true
find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
for i in $(find $PKG/usr/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done