perl/perl-data-dump: ARCH=noarch.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-01-05 17:16:24 -05:00 committed by Willy Sudiarto Raharjo
parent f95d64c1a8
commit 977dd61557
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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"