summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Heinz Wiesinger2021-07-04 16:00:01 +0200
committer Heinz Wiesinger2021-07-17 21:55:21 +0200
commitb7be979a61185d07ce38c101e279d698a3f459ee (patch)
treed44b2633c4874430a5a2e9a5d3f7d694d1b39003
parent9395c579cd41242508f82e0d5797d41e00331bab (diff)
downloadslackbuilds-b7be979a61185d07ce38c101e279d698a3f459ee.tar.gz
system/sbotools: Fix support for PRINT_PACKAGE_NAME
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-rw-r--r--system/sbotools/sbotools.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/sbotools/sbotools.SlackBuild b/system/sbotools/sbotools.SlackBuild
index 8065649e56..d2c8f9ce3c 100644
--- a/system/sbotools/sbotools.SlackBuild
+++ b/system/sbotools/sbotools.SlackBuild
@@ -14,6 +14,8 @@ PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=$PRGNAM
+ARCH-noarch
+
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
@@ -83,4 +85,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.$PKGTYPE
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE