diff options
author | B. Watson <yalhcru@gmail.com> | 2020-01-14 18:40:51 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-18 12:25:17 +0700 |
commit | d66f1d65583c2ac632cd910998c1dc0bd67c0ee4 (patch) | |
tree | 689bea48a81bd978116f3ca872fdb3499bd66fe5 /system/tinyterm/tinyterm.SlackBuild | |
parent | 0e85d2b0f54ea874c7234f4d28bfc19cf7b31b61 (diff) |
system/tinyterm: Updated for version 0.6.0.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/tinyterm/tinyterm.SlackBuild')
-rw-r--r-- | system/tinyterm/tinyterm.SlackBuild | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/system/tinyterm/tinyterm.SlackBuild b/system/tinyterm/tinyterm.SlackBuild index 0abd5e9dbb5d6..d7d3da02152c2 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 # <http://www.gnu.org/licenses/>. +# 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 |