From d66f1d65583c2ac632cd910998c1dc0bd67c0ee4 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 14 Jan 2020 18:40:51 -0500 Subject: [PATCH] system/tinyterm: Updated for version 0.6.0. Signed-off-by: B. Watson --- system/tinyterm/tinyterm.SlackBuild | 21 +++++++++++---------- system/tinyterm/tinyterm.info | 6 +++--- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/system/tinyterm/tinyterm.SlackBuild b/system/tinyterm/tinyterm.SlackBuild index 0abd5e9dbb..d7d3da0215 100644 --- a/system/tinyterm/tinyterm.SlackBuild +++ b/system/tinyterm/tinyterm.SlackBuild @@ -25,6 +25,8 @@ # with this program (most likely, a file named COPYING). If not, see # . +# 20200114 bkw: update for v0.6.0 + # 20170308 bkw: # - take over maintenance # - cosmetics in slack-desc and README @@ -34,8 +36,8 @@ # - BUILD=2 PRGNAM=tinyterm -VERSION=${VERSION:-0.5.8} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.6.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -51,8 +53,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="COPYING README.md" - if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" @@ -76,11 +76,8 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ [ -e "$CWD/config.h" ] && cp "$CWD/config.h" config.h @@ -91,8 +88,12 @@ make install \ MANPREFIX=/usr/man \ DESTDIR=$PKG +for i in LICENSE COPYING; do + [ -e $i ] && lic="$i $lic" +done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README* $lic $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/tinyterm/tinyterm.info b/system/tinyterm/tinyterm.info index 64685cb803..d27383884f 100644 --- a/system/tinyterm/tinyterm.info +++ b/system/tinyterm/tinyterm.info @@ -1,8 +1,8 @@ PRGNAM="tinyterm" -VERSION="0.5.8" +VERSION="0.6.0" HOMEPAGE="https://github.com/ryanpcmcquen/tinyterm" -DOWNLOAD="https://github.com/ryanpcmcquen/tinyterm/archive/0.5.8/tinyterm-0.5.8.tar.gz" -MD5SUM="d79ebef1fd122a5b06e348bd24437e41" +DOWNLOAD="https://github.com/ryanpcmcquen/tinyterm/archive/0.6.0/tinyterm-0.6.0.tar.gz" +MD5SUM="e9adc2bc038576dfaa51cb4390b1100b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""