summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2018-03-17 00:52:12 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-17 08:51:50 +0700
commitb2a5719e1b7f1b819404e98904c0b933651e3df2 (patch)
tree6db3284395e231cf288b78ce9396cba86236a518 /perl
parent4550713906e94dac4eb0c59d31c3dfc29f46fa92 (diff)
downloadslackbuilds-b2a5719e1b7f1b819404e98904c0b933651e3df2.tar.gz
perl/perl-file-basedir: Updated for version 0.08.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-file-basedir/perl-file-basedir.SlackBuild18
-rw-r--r--perl/perl-file-basedir/perl-file-basedir.info6
2 files changed, 12 insertions, 12 deletions
diff --git a/perl/perl-file-basedir/perl-file-basedir.SlackBuild b/perl/perl-file-basedir/perl-file-basedir.SlackBuild
index a85a773f37..5b7931eac0 100644
--- a/perl/perl-file-basedir/perl-file-basedir.SlackBuild
+++ b/perl/perl-file-basedir/perl-file-basedir.SlackBuild
@@ -1,7 +1,8 @@
#!/bin/sh
-# Slackware build script for perl-file-basedir
-
-# Copyright 2015 Edinaldo P. Silva, Rio de janeiro, Brazil
+#
+# Slackware build script for perl-file-basedir.
+#
+# Copyright 2015-2018 Edinaldo P. Silva, Rio de janeiro, Brazil
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-file-basedir
-VERSION=${VERSION:-0.07}
+VERSION=${VERSION:-0.08}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -39,8 +40,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"
@@ -75,7 +76,6 @@ perl Makefile.PL \
INSTALLDIRS=vendor \
INSTALLVENDORMAN3DIR=/usr/man/man3
make
-make test
make install DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
@@ -89,7 +89,7 @@ find $PKG -name perllocal.pod \
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README Changes $PKG/usr/doc/$PRGNAM-$VERSION
+cp README Changes $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-file-basedir/perl-file-basedir.info b/perl/perl-file-basedir/perl-file-basedir.info
index 8d8df3ab91..319c035b3c 100644
--- a/perl/perl-file-basedir/perl-file-basedir.info
+++ b/perl/perl-file-basedir/perl-file-basedir.info
@@ -1,8 +1,8 @@
PRGNAM="perl-file-basedir"
-VERSION="0.07"
+VERSION="0.08"
HOMEPAGE="https://metacpan.org/pod/File::BaseDir"
-DOWNLOAD="https://cpan.metacpan.org/authors/id/K/KI/KIMRYAN/File-BaseDir-0.07.tar.gz"
-MD5SUM="5d10401970d209049c8491d2906c3e13"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/K/KI/KIMRYAN/File-BaseDir-0.08.tar.gz"
+MD5SUM="667a7faa144c0c9a22b4421ed395fe89"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-File-Which perl-Module-Build perl-IPC-System-Simple"