aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-data-dump
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-12 01:57:07 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:44 +0700
commitb1cd86a4d837844befe87db7764b81b217b60024 (patch)
tree1627ca22833bd4ad4a851261f1dae16d0a5437ef /perl/perl-data-dump
parent75434b54b1243fd7910656039c01cead321d7ba9 (diff)
perl/perl-data-dump: Updated for version 1.25.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-data-dump')
-rw-r--r--perl/perl-data-dump/perl-data-dump.SlackBuild20
-rw-r--r--perl/perl-data-dump/perl-data-dump.info6
2 files changed, 10 insertions, 16 deletions
diff --git a/perl/perl-data-dump/perl-data-dump.SlackBuild b/perl/perl-data-dump/perl-data-dump.SlackBuild
index 2e3e95886be7d..264695b590557 100644
--- a/perl/perl-data-dump/perl-data-dump.SlackBuild
+++ b/perl/perl-data-dump/perl-data-dump.SlackBuild
@@ -6,10 +6,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20211012 bkw: update for v1.25.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=perl-data-dump
-VERSION=${VERSION:-1.23}
+VERSION=${VERSION:-1.25}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -22,9 +24,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -59,11 +58,8 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$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 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
perl Makefile.PL \
PREFIX=/usr \
@@ -72,9 +68,7 @@ perl Makefile.PL \
make
make test
make install DESTDIR=$PKG
-
-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
+gzip $PKG/usr/man/man3/*
find $PKG -name perllocal.pod \
-o -name ".packlist" \
@@ -84,7 +78,7 @@ find $PKG -name perllocal.pod \
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README Changes $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README* Changes $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/perl/perl-data-dump/perl-data-dump.info b/perl/perl-data-dump/perl-data-dump.info
index e7cddf0f2cee7..2dc92efc1faee 100644
--- a/perl/perl-data-dump/perl-data-dump.info
+++ b/perl/perl-data-dump/perl-data-dump.info
@@ -1,8 +1,8 @@
PRGNAM="perl-data-dump"
-VERSION="1.23"
+VERSION="1.25"
HOMEPAGE="https://metacpan.org/pod/Data::Dump"
-DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GA/GAAS/Data-Dump-1.23.tar.gz"
-MD5SUM="762c111e525c82ff23d62c90821b26e9"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GA/GARU/Data-Dump-1.25.tar.gz"
+MD5SUM="9bd7131ef0441e1e0e001bf85e9fae31"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""