summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Jan F. Chadima <jfch@jagda.eu>2019-09-28 09:05:36 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2019-09-28 09:05:36 +0700
commit5cb00e1fc727756e80685813fcaeb6c8bf79430f (patch)
tree7f7c64e33a87840118ea8b968cb1dfe602ec64f7
parentfaaf131f2b701cedb6831eeba5ef5b09523a0028 (diff)
downloadslackbuilds-5cb00e1fc727756e80685813fcaeb6c8bf79430f.tar.gz
slackbuilds-5cb00e1fc727756e80685813fcaeb6c8bf79430f.tar.xz
perl/perl-namespace-autoclean: Switch to noarch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--perl/perl-namespace-autoclean/perl-namespace-autoclean.SlackBuild26
1 files changed, 3 insertions, 23 deletions
diff --git a/perl/perl-namespace-autoclean/perl-namespace-autoclean.SlackBuild b/perl/perl-namespace-autoclean/perl-namespace-autoclean.SlackBuild
index 36dd811d0e..dcc1a48657 100644
--- a/perl/perl-namespace-autoclean/perl-namespace-autoclean.SlackBuild
+++ b/perl/perl-namespace-autoclean/perl-namespace-autoclean.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for perl-namespace-autoclean
-# 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-namespace-autoclean
VERSION=${VERSION:-0.28}
-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