diff options
Diffstat (limited to 'network/speedometer/speedometer.SlackBuild')
-rw-r--r-- | network/speedometer/speedometer.SlackBuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/network/speedometer/speedometer.SlackBuild b/network/speedometer/speedometer.SlackBuild index 4b561e5b73aae..09bf16a72be37 100644 --- a/network/speedometer/speedometer.SlackBuild +++ b/network/speedometer/speedometer.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash - -# Slackware build script for speedometer - -# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil +# +# Slackware build script for speedometer. +# +# Copyright 2015-2022 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=speedometer -VERSION=${VERSION:-2.8} -BUILD=${BUILD:-2} +VERSION=${VERSION:-2.9} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -71,6 +71,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +mv $PRGNAM-release-$VERSION $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -79,7 +80,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -patch -Np1 < $CWD/update-to-python3.patch python3 setup.py install --root=$PKG --optimize=1 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -93,7 +93,7 @@ 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -install -Dm644 $CWD/changelog $PKG/usr/doc/$PRGNAM-$VERSION/CHANGELOG +install -Dm644 CHANGELOG LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |