summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author Heinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 15:59:55 +0200
committer Heinz Wiesinger <pprkut@slackbuilds.org>2021-07-17 21:55:17 +0200
commitbb0b46083c088473635ddbbde107061e60823c35 (patch)
treeaab59bd199242fb3ecf7456f4ba01aae6c95f892 /network
parentf85349282465701d88046ad0b1c6d4c66be8c19b (diff)
downloadslackbuilds-bb0b46083c088473635ddbbde107061e60823c35.tar.gz
slackbuilds-bb0b46083c088473635ddbbde107061e60823c35.tar.xz
network/snmptt: Fix support for PRINT_PACKAGE_NAME
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/snmptt/snmptt.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/network/snmptt/snmptt.SlackBuild b/network/snmptt/snmptt.SlackBuild
index 8f27f5f4cb..d95182db55 100644
--- a/network/snmptt/snmptt.SlackBuild
+++ b/network/snmptt/snmptt.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.
@@ -80,4 +82,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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