system/tinyterm: Updated for version 0.6.0.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2020-01-14 18:40:51 -05:00 committed by Willy Sudiarto Raharjo
parent 0e85d2b0f5
commit d66f1d6558
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 14 additions and 13 deletions

View file

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

View file

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