summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-14 18:40:51 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-18 12:25:17 +0700
commitd66f1d65583c2ac632cd910998c1dc0bd67c0ee4 (patch)
tree689bea48a81bd978116f3ca872fdb3499bd66fe5 /system
parent0e85d2b0f54ea874c7234f4d28bfc19cf7b31b61 (diff)
downloadslackbuilds-d66f1d65583c2ac632cd910998c1dc0bd67c0ee4.tar.gz
system/tinyterm: Updated for version 0.6.0.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system')
-rw-r--r--system/tinyterm/tinyterm.SlackBuild21
-rw-r--r--system/tinyterm/tinyterm.info6
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
# <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
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=""