aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-05 17:16:24 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-07 08:13:49 +0700
commit977dd61557e0e07afaa8edbe5fd531bdb905dd90 (patch)
tree41156d95defa9abf0154ec1865133324d7ed7f26
parentf95d64c1a8d63e5be4579d42cfba3e94fa98a87a (diff)
perl/perl-data-dump: ARCH=noarch.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--perl/perl-data-dump/perl-data-dump.SlackBuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/perl/perl-data-dump/perl-data-dump.SlackBuild b/perl/perl-data-dump/perl-data-dump.SlackBuild
index a24cfb0fb641e..00f94bd049960 100644
--- a/perl/perl-data-dump/perl-data-dump.SlackBuild
+++ b/perl/perl-data-dump/perl-data-dump.SlackBuild
@@ -6,23 +6,18 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230105 bkw: BUILD=2, ARCH=noarch.
# 20211012 bkw: update for v1.25.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=perl-data-dump
VERSION=${VERSION:-1.25}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+ARCH=noarch
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"