diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-20 14:55:49 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-20 15:09:45 +0700 |
commit | 6bb0dac580415eb91777bc8efb6afbcf3b92a736 (patch) | |
tree | 8cb1b8bba06299af57771db049264098ad4528ae /perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild | |
parent | e5178ae7ceabe6e8a05c8c86d19dcf8889ba293a (diff) |
perl/perl-DateTime-TimeZone: Updated for version 2.01.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild')
-rw-r--r-- | perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild index 306af41965..e8d7bd4e1b 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 |