From 7b5222731d911d92ce706ff96442798ec0521702 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 11 Oct 2020 17:47:43 -0400 Subject: ham/spectools: No dashes in VERSION, people!. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- ham/spectools/README | 11 ++++++----- ham/spectools/spectools.SlackBuild | 10 ++++++---- ham/spectools/spectools.info | 2 +- 3 files changed, 13 insertions(+), 10 deletions(-) (limited to 'ham') diff --git a/ham/spectools/README b/ham/spectools/README index 2a280f07a9..f8130581ab 100644 --- a/ham/spectools/README +++ b/ham/spectools/README @@ -1,6 +1,7 @@ -Spectools is a set of utilities for using various spectrum analyzer hardware. -It supports the suite of Wi-Spy devices (original, 24x, 24x2, DBX, DBX2, 900, -24i) by Metageek LLC and the Ubertooth. Spectools includes userspace drivers -for the hardware itself, a graphing UI built GTK and Cairo, network protocols -for remote device capture, and simple utilities for developing additional +Spectools is a set of utilities for using various spectrum +analyzer hardware. It supports the suite of Wi-Spy devices +(original, 24x, 24x2, DBX, DBX2, 900, 24i) by Metageek LLC and the +Ubertooth. Spectools includes userspace drivers for the hardware +itself, a graphing UI built GTK and Cairo, network protocols for +remote device capture, and simple utilities for developing additional tools. diff --git a/ham/spectools/spectools.SlackBuild b/ham/spectools/spectools.SlackBuild index e0f0a778fc..5f2d7aa06b 100644 --- a/ham/spectools/spectools.SlackBuild +++ b/ham/spectools/spectools.SlackBuild @@ -23,10 +23,12 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=spectools -VERSION=${VERSION:-2016-01-R1} +VERSION=${VERSION:-2016_01_R1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +SRCVER=${VERSION//_/-} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -59,9 +61,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$SRCVER +tar xvf $CWD/$PRGNAM-$SRCVER.tar.xz +cd $PRGNAM-$SRCVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/ham/spectools/spectools.info b/ham/spectools/spectools.info index 356dc1190c..81ba9d78eb 100644 --- a/ham/spectools/spectools.info +++ b/ham/spectools/spectools.info @@ -1,5 +1,5 @@ PRGNAM="spectools" -VERSION="2016-01-R1" +VERSION="2016_01_R1" HOMEPAGE="https://www.kismetwireless.net/static/spectools/" DOWNLOAD="https://www.kismetwireless.net/code/spectools-2016-01-R1.tar.xz" MD5SUM="d1e3d8ea692f3fd4e632c2fe6b0d5a9f" -- cgit v1.2.3