summaryrefslogtreecommitdiffstats
path: root/perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.SlackBuild')
-rw-r--r--perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.SlackBuild30
1 files changed, 5 insertions, 25 deletions
diff --git a/perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.SlackBuild b/perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.SlackBuild
index 9b4cbcbcba..a3989e6501 100644
--- a/perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.SlackBuild
+++ b/perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/sh
-# Slackware build script for Test-CleanNamespaces
+# Slackware build script for perl-Test-CleanNamespaces
-# Copyright 2018 Jan F. Chadima <jfch@jagda.eu>
+# Copyright 2018-2019 Jan F. Chadima <jfch@jagda.eu>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,39 +23,19 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Test-CleanNamespaces
-VERSION=${VERSION:-0.22}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.24}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG