aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Hinchee <henesy.dev@gmail.com>2024-10-25 09:50:10 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-10-25 10:35:40 +0700
commit52b6c2619f2df95caef04c7e2c2637bb2a77e436 (patch)
tree30a7b68985c02a9d956dce5de6f046c9ba3b160a
parent014b4fcf4835512b339260a3fa8d3482175935ca (diff)
network/drawterm: Updated for version 20241024_d7620e8d.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/drawterm/drawterm.SlackBuild14
-rw-r--r--network/drawterm/drawterm.info6
2 files changed, 9 insertions, 11 deletions
diff --git a/network/drawterm/drawterm.SlackBuild b/network/drawterm/drawterm.SlackBuild
index 7750f5516438..c45b7c9645ce 100644
--- a/network/drawterm/drawterm.SlackBuild
+++ b/network/drawterm/drawterm.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for drawterm
-# Copyright 2018 Sean Hinchee
+# Copyright 2024 Sean Hinchee
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=drawterm
-VERSION=${VERSION:-dc703b3438f9}
+VERSION=${VERSION:-20241024_d7620e8d}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -56,8 +53,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/snap.tar.gz
+#cd $PRGNAM-$VERSION
+cd drawterm
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -72,7 +70,7 @@ CONF=unix make \
CC="gcc $SLKCFLAGS -fcommon"
install -D -t $PKG/usr/bin -m755 drawterm
-install -D -t $PKG/usr/man/man1 -m755 drawterm.1
+install -D -t $PKG/usr/man/man1 -m644 drawterm.1
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
diff --git a/network/drawterm/drawterm.info b/network/drawterm/drawterm.info
index 3711f8fd536e..256f031ba599 100644
--- a/network/drawterm/drawterm.info
+++ b/network/drawterm/drawterm.info
@@ -1,8 +1,8 @@
PRGNAM="drawterm"
-VERSION="dc703b3438f9"
+VERSION="20241024_d7620e8d"
HOMEPAGE="http://drawterm.9front.org"
-DOWNLOAD="https://code.9front.org/hg/drawterm/archive/dc703b3438f9.tar.gz"
-MD5SUM="49f2fea5fefe6c184f01c7f4249f19b4"
+DOWNLOAD="http://git.9front.org/git/plan9front/drawterm/d7620e8d528a87a3d6cf7285a839d52d4f705771/snap.tar.gz"
+MD5SUM="8e04b0eec4fd4e0b764185c4b0e15698"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""