development/tweak: Updated for version 3.02+20200601.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2021-09-07 14:31:51 -04:00 committed by Willy Sudiarto Raharjo
parent b4ea36ae6f
commit 58a7d08fb7
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
5 changed files with 1331 additions and 10 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
tweak (ncurses-based hex editor)
tweak (ncurses-based hex editor, with emacs-like keybindings)
Tweak is a hex editor. It allows you to edit a file at very low level,
letting you see the full and exact binary contents of the file. It can

View File

@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
tweak: tweak (ncurses-based hex editor)
tweak: tweak (ncurses-based hex editor, with emacs-like keybindings)
tweak:
tweak: Tweak is a hex editor. It allows you to edit a file at very low
tweak: level, letting you see the full and exact binary contents of the

View File

@ -6,10 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20210907 bkw: update for v3.02+20200601 (git commit ad97e13),
# which has a few bugfixes. The patch does *not* include the last git
# commit, d131fe2, which switches from a plain Makefile to autotools.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tweak
VERSION=${VERSION:-3.02}
VERSION=${VERSION:-3.02+20200601}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -22,9 +26,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
@ -50,15 +51,20 @@ fi
set -e
TARVER=${VERSION/+*}
PATCH=${VERSION/*+}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
rm -rf $PRGNAM-$TARVER
tar xvf $CWD/$PRGNAM-$TARVER.tar.gz
cd $PRGNAM-$TARVER
chown -R root:root .
chmod 644 *
[ "$PATCH" != "$VERSION" ] && patch -p1 < $CWD/$PATCH.diff
make XFLAGS="$SLKCFLAGS"
install -D -s -m0755 $PRGNAM $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/man/man1

View File

@ -1,5 +1,5 @@
PRGNAM="tweak"
VERSION="3.02"
VERSION="3.02+20200601"
HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/tweak/"
DOWNLOAD="https://www.chiark.greenend.org.uk/~sgtatham/tweak/tweak-3.02.tar.gz"
MD5SUM="d50e20d9ed05d7cc5eb04ff3f0bf1d9b"