From 6bb0dac580415eb91777bc8efb6afbcf3b92a736 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 20 Feb 2022 14:55:49 +0700 Subject: perl/perl-DateTime-TimeZone: Updated for version 2.01. Signed-off-by: Willy Sudiarto Raharjo --- .../perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild | 12 +++++------- perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.info | 8 ++++---- 2 files changed, 9 insertions(+), 11 deletions(-) (limited to 'perl') diff --git a/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild index 306af419654ac..e8d7bd4e1b0ce 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 5ab2cb8569b9a..9ba6f842d02ce 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" -- cgit v1.2.3