aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-20 14:55:49 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-20 15:09:45 +0700
commit6bb0dac580415eb91777bc8efb6afbcf3b92a736 (patch)
tree8cb1b8bba06299af57771db049264098ad4528ae /perl
parente5178ae7ceabe6e8a05c8c86d19dcf8889ba293a (diff)
perl/perl-DateTime-TimeZone: Updated for version 2.01.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild12
-rw-r--r--perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.info8
2 files changed, 9 insertions, 11 deletions
diff --git a/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild
index 306af419654a..e8d7bd4e1b0c 100644
--- a/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild
+++ b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild
@@ -29,7 +29,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=perl-DateTime-TimeZone
-VERSION=${VERSION:-1.70}
+VERSION=${VERSION:-2.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,7 +38,7 @@ SRCNAM=DateTime-TimeZone
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -56,8 +56,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -105,9 +105,7 @@ find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs r
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- LICENSE README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE $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-DateTime-TimeZone/perl-DateTime-TimeZone.info b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.info
index 5ab2cb8569b9..9ba6f842d02c 100644
--- a/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.info
+++ b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.info
@@ -1,10 +1,10 @@
PRGNAM="perl-DateTime-TimeZone"
-VERSION="1.70"
+VERSION="2.01"
HOMEPAGE="https://metacpan.org/pod/DateTime::TimeZone"
-DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-1.70.tar.gz"
-MD5SUM="27cd0930f05a20b7438beffa5702a667"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-2.01.tar.gz"
+MD5SUM="a9f8a8f3aedef2879b68b773b7e0fa5b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-Class-Load perl-Class-Singleton perl-Params-Validate"
+REQUIRES="perl-Class-Load perl-Class-Singleton perl-Params-Validate perl-List-AllUtils"
MAINTAINER="David Somero"
EMAIL="dsomero@hotmail.com"