mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
perl/perl-DateTime-TimeZone: Updated for version 2.01.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
e5178ae7ce
commit
6bb0dac580
2 changed files with 9 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue