diff options
author | Brian Cox <hamslackbuild@comcast.net> | 2023-10-21 00:29:25 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-10-21 00:29:25 +0700 |
commit | 7007010bb5e80c53dc3334ba587583488d70b258 (patch) | |
tree | 8f6da5dcfaa27849968ddb1dbbd21bdaa0ca609d | |
parent | a7cfbda6b7791f82b538d4ec42c96a8d2d4fade3 (diff) |
ham/tqsl: Updated for version 2.7.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | ham/tqsl/doinst.sh | 6 | ||||
-rw-r--r-- | ham/tqsl/slack-desc | 2 | ||||
-rw-r--r-- | ham/tqsl/tqsl.SlackBuild | 60 | ||||
-rw-r--r-- | ham/tqsl/tqsl.info | 12 |
4 files changed, 38 insertions, 42 deletions
diff --git a/ham/tqsl/doinst.sh b/ham/tqsl/doinst.sh index 5fb28930db0b..65c7e2eeb9aa 100644 --- a/ham/tqsl/doinst.sh +++ b/ham/tqsl/doinst.sh @@ -1,3 +1,9 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/ham/tqsl/slack-desc b/ham/tqsl/slack-desc index cdf59dbf5e39..b148bacc5a86 100644 --- a/ham/tqsl/slack-desc +++ b/ham/tqsl/slack-desc @@ -13,7 +13,7 @@ tqsl: League's Logbook Of The World (LOTW) program. This allows you to tqsl: digitally sign your ADIF or Cabrillo log file to ensure that only tqsl: your legitimate logs are uploaded to LOTW. tqsl: -tqsl: Homepage: http://www.arrl.org/ +tqsl: Homepage: http://www.arrl.org/tqsl-download tqsl: tqsl: tqsl: diff --git a/ham/tqsl/tqsl.SlackBuild b/ham/tqsl/tqsl.SlackBuild index 4df066cf178c..92adeddab53d 100644 --- a/ham/tqsl/tqsl.SlackBuild +++ b/ham/tqsl/tqsl.SlackBuild @@ -1,29 +1,31 @@ #!/bin/bash # Slackbuild for tqsl # Written by JK Wood <joshuakwood@gmail.com> - -# Slackbuild is released under the Dog-on-Fire License: -# If use of this script causes your dog to catch on fire, -# you agree to send me five dollars. Or a picture -# of the dog on fire. -# Otherwise, you're on your own. I've tested the script -# on my own computer, and it hasn't broken anything. -# So if it does it on your computer, that falls in -# the realm of "Not my problem." +# Brian Cox 2023 <hamslackbuild@comcast.net> # -# Of course, if you'll send a bug report to the above -# email address, I may be able to see what you did -# wrong and prevent it from happening in the future. -# In which case, I may just send YOU five dollars. - -# Oh, and feel free to copy it and modify it as you -# see fit. Or as I see fit. Or as I fit. Although -# that is unlikely, as I am rather tall. +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tqsl -VERSION=${VERSION:-2.5.7} +VERSION=${VERSION:-2.7.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -36,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -57,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -81,6 +83,7 @@ cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_MANDIR=man \ -DCMAKE_BUILD_TYPE=Release . make @@ -89,21 +92,8 @@ make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Fix hardcoded man page path >:( -mkdir -p $PKG/usr/man -mv $PKG/man5 $PKG/usr/man - +# Gzip man pages find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - -# Fix weirdness wtih LIB directory -if [ "$LIBDIRSUFFIX" = "64" ]; then - mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX} -fi - -mkdir -p $PKG/usr/share/applications -install -m 644 $CWD/tqsl.desktop $PKG/usr/share/applications mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS.txt INSTALL LICENSE.txt README $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/ham/tqsl/tqsl.info b/ham/tqsl/tqsl.info index 305ca3d679e8..3d934ce0393b 100644 --- a/ham/tqsl/tqsl.info +++ b/ham/tqsl/tqsl.info @@ -1,10 +1,10 @@ PRGNAM="tqsl" -VERSION="2.5.7" -HOMEPAGE="http://www.arrl.org" -DOWNLOAD="http://www.arrl.org/files/file/LoTW%20Instructions/tqsl-2.5.7.tar.gz" -MD5SUM="b361cd86c37537804e9e660409e494e7" +VERSION="2.7.1" +HOMEPAGE="http://www.arrl.org/tqsl-download" +DOWNLOAD="http://www.arrl.org/files/file/LoTW%20Instructions/tqsl-2.7.1.tar.gz" +MD5SUM="823bca1cf323f7894373d64952a28ecd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="wxPython" -MAINTAINER="JK Wood" -EMAIL="joshuakwood@gmail.com" +MAINTAINER="Brian Cox" +EMAIL="hamslackbuild@comcast.net" |