summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan F. Chadima <jfch@jagda.eu>2019-09-28 09:06:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-09-28 09:06:18 +0700
commitb73635f6725762cd898d13aa1cb4da8b077f1fc1 (patch)
tree5bbab80d86842cff0a13eddbbc42cb82d66d807e
parent5cb00e1fc727756e80685813fcaeb6c8bf79430f (diff)
downloadslackbuilds-b73635f6725762cd898d13aa1cb4da8b077f1fc1.tar.gz
perl/perl-Test-CleanNamespaces: Switch to noarch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.SlackBuild28
-rw-r--r--perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.info2
2 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 691f6e498e..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
@@ -24,38 +24,18 @@
PRGNAM=perl-Test-CleanNamespaces
VERSION=${VERSION:-0.24}
-BUILD=${BUILD:-1}
+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
diff --git a/perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.info b/perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.info
index 4c4e447811..d338e14a5d 100644
--- a/perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.info
+++ b/perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-CleanNamespaces-0
MD5SUM="0ddfb7e5f11ddfb9498cb500c7616fb8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-File-pushd perl-Sub-Exporter perl-Test-Deep perl-Test-Warnings perl-namespace-clean perl-Sub-Exporter perl-Sub-Identify"
+REQUIRES="perl-File-pushd perl-Test-Deep perl-Test-Warnings perl-namespace-clean perl-Sub-Exporter perl-Sub-Identify"
MAINTAINER="Jan F. Chadima"
EMAIL="jfch@jagda.eu"