development/hexedit: Updated for version 1.6.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Barry J. Grundy 2024-02-23 23:07:10 +07:00 committed by Willy Sudiarto Raharjo
parent 4df3a375eb
commit 06996e7432
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 10 additions and 7 deletions

View file

@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=hexedit PRGNAM=hexedit
VERSION=${VERSION:-1.2.12} VERSION=${VERSION:-1.6}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -66,8 +66,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.src.tgz tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -75,6 +75,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
./autogen.sh
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
@ -103,6 +104,8 @@ DOCS="COPYING Changes TODO"
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# TODO file is empty in version 1.6
test -s $PKG/usr/doc/$PRGNAM-$VERSION/TODO || rm $PKG/usr/doc/$PRGNAM-$VERSION/TODO
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,8 +1,8 @@
PRGNAM="hexedit" PRGNAM="hexedit"
VERSION="1.2.12" VERSION="1.6"
HOMEPAGE="http://prigaux.chez.com/hexedit.html" HOMEPAGE="https://rigaux.org/hexedit.html"
DOWNLOAD="http://rigaux.org/hexedit-1.2.12.src.tgz" DOWNLOAD="https://github.com/pixel/hexedit/archive/1.6/hexedit-1.6.tar.gz"
MD5SUM="0d2f48610006278cd93359fea9a06d5c" MD5SUM="9b5849759dbda9ab25ec22818c16e970"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""