summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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=""