system/tinyterm: New maintainer, minor tweaks.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2017-03-08 17:28:13 -05:00 committed by Willy Sudiarto Raharjo
parent c52883c4d3
commit 431d95a570
No known key found for this signature in database
GPG key ID: 887B8374D7333381
4 changed files with 34 additions and 22 deletions

View file

@ -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).

View file

@ -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.

View file

@ -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

View file

@ -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"