summaryrefslogtreecommitdiffstats
path: root/perl/perl-Date-Manip
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Date-Manip')
-rw-r--r--perl/perl-Date-Manip/perl-Date-Manip.SlackBuild17
-rw-r--r--perl/perl-Date-Manip/perl-Date-Manip.info6
2 files changed, 15 insertions, 8 deletions
diff --git a/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild b/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild
index d6b5c8b77d..338b3bad79 100644
--- a/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild
+++ b/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for perl-Date-Manip
# Copyright 2010 V'yacheslav Stetskevych <slava18 dont_spam_me gmail com>
-# Copyright 2014-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-Date-Manip
-VERSION=${VERSION:-6.83}
+VERSION=${VERSION:-6.95}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=Date-Manip
@@ -38,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -101,4 +108,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/perl/perl-Date-Manip/perl-Date-Manip.info b/perl/perl-Date-Manip/perl-Date-Manip.info
index a9c39d69d9..792633e421 100644
--- a/perl/perl-Date-Manip/perl-Date-Manip.info
+++ b/perl/perl-Date-Manip/perl-Date-Manip.info
@@ -1,8 +1,8 @@
PRGNAM="perl-Date-Manip"
-VERSION="6.83"
+VERSION="6.95"
HOMEPAGE="https://metacpan.org/pod/distribution/Date-Manip/lib/Date/Manip.pod"
-DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SB/SBECK/Date-Manip-6.83.tar.gz"
-MD5SUM="92be58690a9a64d51fb158198220fd63"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SB/SBECK/Date-Manip-6.95.tar.gz"
+MD5SUM="1dc65dbb042ecab09149a22fbbe9abb4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-Test-Inter perl-Test-Pod perl-Test-Pod-Coverage perl-YAML-Syck"