summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 15:59:51 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-17 21:55:14 +0200
commit146af11840cfc4ab5f5ef04b0b9bab5c76d60f21 (patch)
tree535f10b530782b50f88ac2339a97f055448b58c5 /misc
parentcf180b6ab1e934fed01480e18160538f6f216c04 (diff)
downloadslackbuilds-146af11840cfc4ab5f5ef04b0b9bab5c76d60f21.tar.gz
misc/sigrok-firmware-fx2lafw: Fix support for PRINT_PACKAGE_NAME
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.SlackBuild b/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.SlackBuild
index 1a479b2bf9..72169f9aa7 100644
--- a/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.SlackBuild
+++ b/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.SlackBuild
@@ -30,6 +30,8 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+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.
@@ -69,4 +71,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