diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-08 17:28:13 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-18 06:58:51 +0700 |
commit | 3ae0b249d12095f6ace2bd8de9b448515207173c (patch) | |
tree | 00b0de2af0128d0a24ce49c7402c25ec8f872545 | |
parent | 67391d582449aeba73bc073c2c7e0851f7e60208 (diff) | |
download | slackbuilds-3ae0b249d12095f6ace2bd8de9b448515207173c.tar.gz |
system/tinyterm: New maintainer, minor tweaks.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r-- | system/tinyterm/README | 11 | ||||
-rw-r--r-- | system/tinyterm/slack-desc | 4 | ||||
-rw-r--r-- | system/tinyterm/tinyterm.SlackBuild | 35 | ||||
-rw-r--r-- | system/tinyterm/tinyterm.info | 6 |
4 files changed, 34 insertions, 22 deletions
diff --git a/system/tinyterm/README b/system/tinyterm/README index e04f440c44..03583ef861 100644 --- a/system/tinyterm/README +++ b/system/tinyterm/README @@ -1,4 +1,9 @@ -tinyterm is a simple terminal written in c. +tinyterm is a simple X terminal emulator written in C. -It supports Ctrl + Shift + C and Ctrl + Shift + V -for copy and paste actions. +It supports Ctrl + Shift + C and Ctrl + Shift + V for copy and paste actions. + +Most of tinyterm's configuration is compiled in, rather than being read +from config files or command-line options. To build a customized tinyterm, +copy config.h from the tinyterm source to the SlackBuild's directory and +edit as you see fit. Probably the most important change for most people +will be to increase the font size (TINYTERM_FONT). diff --git a/system/tinyterm/slack-desc b/system/tinyterm/slack-desc index f1d3fc1214..32a74afb40 100644 --- a/system/tinyterm/slack-desc +++ b/system/tinyterm/slack-desc @@ -6,9 +6,9 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -tinyterm: tinyterm (a simple terminal written in c) +tinyterm: tinyterm (simple terminal) tinyterm: -tinyterm: tinyterm is a simple terminal written in c +tinyterm: tinyterm is a simple X terminal emulator written in C. tinyterm: tinyterm: It supports copy & paste with: tinyterm: Ctrl + Shift + C and Ctrl + Shift + V. diff --git a/system/tinyterm/tinyterm.SlackBuild b/system/tinyterm/tinyterm.SlackBuild index 606b51785d..0abd5e9dbb 100644 --- a/system/tinyterm/tinyterm.SlackBuild +++ b/system/tinyterm/tinyterm.SlackBuild @@ -2,7 +2,10 @@ # Slackware build script for tinyterm -# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org +# Originally written by: +# Ryan P.C. McQuen | Everett, WA | (email removed) + +# Now maintained by B. Watson (yalhcru@gmail.com) # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -22,14 +25,22 @@ # with this program (most likely, a file named COPYING). If not, see # <http://www.gnu.org/licenses/>. +# 20170308 bkw: +# - take over maintenance +# - cosmetics in slack-desc and README +# - i486 => i586 +# - use long-form github URL +# - allow custom config.h +# - BUILD=2 + PRGNAM=tinyterm VERSION=${VERSION:-0.5.8} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +53,8 @@ OUTPUT=${OUTPUT:-/tmp} DOCS="COPYING README.md" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -62,11 +73,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -if [ -e $CWD/$VERSION.tar.gz ]; then - tar xvf $CWD/$VERSION.tar.gz -else - tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -fi +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -75,15 +82,15 @@ 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 {} \; -CFLAGS="$SLKCFLAGS" make && \ +[ -e "$CWD/config.h" ] && cp "$CWD/config.h" config.h + +CFLAGS="$SLKCFLAGS" make +strip $PRGNAM make install \ PREFIX=/usr \ MANPREFIX=/usr/man \ 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 - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/system/tinyterm/tinyterm.info b/system/tinyterm/tinyterm.info index 593c247697..64685cb803 100644 --- a/system/tinyterm/tinyterm.info +++ b/system/tinyterm/tinyterm.info @@ -1,10 +1,10 @@ PRGNAM="tinyterm" VERSION="0.5.8" HOMEPAGE="https://github.com/ryanpcmcquen/tinyterm" -DOWNLOAD="https://github.com/ryanpcmcquen/tinyterm/archive/0.5.8.tar.gz" +DOWNLOAD="https://github.com/ryanpcmcquen/tinyterm/archive/0.5.8/tinyterm-0.5.8.tar.gz" MD5SUM="d79ebef1fd122a5b06e348bd24437e41" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Ryan P.C. McQuen" -EMAIL="ryanpcmcquen@member.fsf.org" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" |