summaryrefslogtreecommitdiff
path: root/perl/perl-file-basedir/perl-file-basedir.SlackBuild
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/perl-file-basedir/perl-file-basedir.SlackBuild
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/perl-file-basedir/perl-file-basedir.SlackBuild')
-rw-r--r--perl/perl-file-basedir/perl-file-basedir.SlackBuild18
1 files changed, 9 insertions, 9 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