summaryrefslogtreecommitdiff
path: root/perl/perl-PAR-Dist
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2020-12-05 20:34:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-12-05 20:34:44 +0700
commitc421df7b6d85218dd7f20f708612e6ed9146a70f (patch)
tree69bac8f3601ad747e6ba55b269ee5767c3bba346 /perl/perl-PAR-Dist
parent84cc6fb705bb579eecf117629181702b8b78e0ba (diff)
downloadslackbuilds-c421df7b6d85218dd7f20f708612e6ed9146a70f.tar.gz
perl/perl-PAR-Dist: Updated for version 0.51.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-PAR-Dist')
-rw-r--r--perl/perl-PAR-Dist/perl-PAR-Dist.SlackBuild10
-rw-r--r--perl/perl-PAR-Dist/perl-PAR-Dist.info6
2 files changed, 8 insertions, 8 deletions
diff --git a/perl/perl-PAR-Dist/perl-PAR-Dist.SlackBuild b/perl/perl-PAR-Dist/perl-PAR-Dist.SlackBuild
index a79d742980..dce932d56c 100644
--- a/perl/perl-PAR-Dist/perl-PAR-Dist.SlackBuild
+++ b/perl/perl-PAR-Dist/perl-PAR-Dist.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
#
# Slackware build script for perl-PAR-Dist.
-#
+
# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
@@ -23,10 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-PAR-Dist
-VERSION=${VERSION:-0.50}
+VERSION=${VERSION:-0.51}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -56,8 +58,6 @@ fi
set -e
-SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -90,7 +90,7 @@ find $PKG -name perllocal.pod \
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp 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-PAR-Dist/perl-PAR-Dist.info b/perl/perl-PAR-Dist/perl-PAR-Dist.info
index 36986619d4..3dfab4e2e3 100644
--- a/perl/perl-PAR-Dist/perl-PAR-Dist.info
+++ b/perl/perl-PAR-Dist/perl-PAR-Dist.info
@@ -1,8 +1,8 @@
PRGNAM="perl-PAR-Dist"
-VERSION="0.50"
+VERSION="0.51"
HOMEPAGE="https://metacpan.org/pod/PAR::Dist"
-DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-Dist-0.50.tar.gz"
-MD5SUM="bdb8693be3a76c081a9bd1dc14daf663"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-Dist-0.51.tar.gz"
+MD5SUM="9231ef7cb0f46c6c183e91962e2a766c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""