aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-PAR-Dist/perl-PAR-Dist.SlackBuild
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/perl-PAR-Dist.SlackBuild
parent84cc6fb705bb579eecf117629181702b8b78e0ba (diff)
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/perl-PAR-Dist.SlackBuild')
-rw-r--r--perl/perl-PAR-Dist/perl-PAR-Dist.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl/perl-PAR-Dist/perl-PAR-Dist.SlackBuild b/perl/perl-PAR-Dist/perl-PAR-Dist.SlackBuild
index a79d74298050..dce932d56c1c 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