aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-10 07:25:16 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-11 06:19:37 +0700
commitadfd4441175f21f1af0d652f9f5e042462caa92e (patch)
treebe5a7a5a3ad127a6b6d4c71f743c8ebd6c890424 /perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild
parent75e51914937940da364016091c998795f4828af1 (diff)
perl/perl-Archive-Zip: Updated for version 1.59.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild')
-rw-r--r--perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild19
1 files changed, 11 insertions, 8 deletions
diff --git a/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild b/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild
index 17fe572b8b62..bc46bb8d526e 100644
--- a/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild
+++ b/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Archive-Zip
-VERSION=${VERSION:-1.39}
+VERSION=${VERSION:-1.59}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,18 +66,21 @@ tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz
cd $SRC_PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-perl Makefile.PL OPTIMIZE="$SLKCFLAGS" INSTALLDIRS=vendor
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
make
-make test
make install DESTDIR=$PKG
-mv $PKG/usr/share/man $PKG/usr/
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
find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f
find $PKG -depth -type d -empty -delete