aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild19
-rw-r--r--perl/perl-Archive-Zip/perl-Archive-Zip.info6
2 files changed, 14 insertions, 11 deletions
diff --git a/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild b/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild
index 17fe572b8b62f..bc46bb8d526ef 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
diff --git a/perl/perl-Archive-Zip/perl-Archive-Zip.info b/perl/perl-Archive-Zip/perl-Archive-Zip.info
index 524ee60f40b69..b80dc1a0172e1 100644
--- a/perl/perl-Archive-Zip/perl-Archive-Zip.info
+++ b/perl/perl-Archive-Zip/perl-Archive-Zip.info
@@ -1,8 +1,8 @@
PRGNAM="perl-Archive-Zip"
-VERSION="1.39"
+VERSION="1.59"
HOMEPAGE="https://metacpan.org/pod/Archive::Zip"
-DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PH/PHRED/Archive-Zip-1.39.tar.gz"
-MD5SUM="851316e59625317a89e40418a26c676c"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PH/PHRED/Archive-Zip-1.59.tar.gz"
+MD5SUM="b649a593391573f9382cef8c08d1d5ba"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""