diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-10-10 07:25:16 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-10-11 06:19:37 +0700 |
commit | adfd4441175f21f1af0d652f9f5e042462caa92e (patch) | |
tree | be5a7a5a3ad127a6b6d4c71f743c8ebd6c890424 /perl | |
parent | 75e51914937940da364016091c998795f4828af1 (diff) |
perl/perl-Archive-Zip: Updated for version 1.59.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r-- | perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild | 19 | ||||
-rw-r--r-- | perl/perl-Archive-Zip/perl-Archive-Zip.info | 6 |
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="" |