[Slackbuilds-users] Fwd: [PATCH] development/hexedit: Updated for version 1.6.

Matteo Bernardini matteo.bernardini at gmail.com
Fri Feb 16 09:25:13 UTC 2024


Forwarded for consideration to the hexedit maintainer

---------- Forwarded message ---------
Da: Shahab Vahedi via SlackBuilds-users <slackbuilds-users at slackbuilds.org>
Date: ven 16 feb 2024 alle ore 09:53
Subject: [Slackbuilds-users] [PATCH] development/hexedit: Updated for
version 1.6.
To: <slackbuilds-users at slackbuilds.org>
Cc: Shahab Vahedi <list+sbo at vahedi.org>


The current version (1.2.12) cannot even be built anymore, because
that source version exists no more.

Tested on a Slackware64 15.0 with the latest patches in. The lint
results are OK both for the script and the package.

Signed-off-by: Shahab Vahedi <list+sbo at vahedi.org>
---
 development/hexedit/hexedit.SlackBuild | 9 ++++++---
 development/hexedit/hexedit.info       | 8 ++++----
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/development/hexedit/hexedit.SlackBuild
b/development/hexedit/hexedit.SlackBuild
index 21381bcac0..33f3d82e5c 100644
--- a/development/hexedit/hexedit.SlackBuild
+++ b/development/hexedit/hexedit.SlackBuild
@@ -27,7 +27,7 @@
 cd $(dirname $0) ; CWD=$(pwd)

 PRGNAM=hexedit
-VERSION=${VERSION:-1.2.12}
+VERSION=${VERSION:-1.6}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 PKGTYPE=${PKGTYPE:-tgz}
@@ -66,8 +66,8 @@ rm -rf $PKG
 mkdir -p $TMP $PKG $OUTPUT
 cd $TMP
 rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.src.tgz
-cd $PRGNAM
+tar xvf $CWD/$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 \
@@ -75,6 +75,7 @@ find -L . \
  \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
   -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

+./autogen.sh
 CFLAGS="$SLKCFLAGS" \
 CXXFLAGS="$SLKCFLAGS" \
 ./configure \
@@ -103,6 +104,8 @@ DOCS="COPYING Changes TODO"
 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
 cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
 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
 cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/development/hexedit/hexedit.info b/development/hexedit/
hexedit.info
index 111b69d3b3..c4cd5ac420 100644
--- a/development/hexedit/hexedit.info
+++ b/development/hexedit/hexedit.info
@@ -1,8 +1,8 @@
 PRGNAM="hexedit"
-VERSION="1.2.12"
-HOMEPAGE="http://prigaux.chez.com/hexedit.html"
-DOWNLOAD="http://rigaux.org/hexedit-1.2.12.src.tgz"
-MD5SUM="0d2f48610006278cd93359fea9a06d5c"
+VERSION="1.6"
+HOMEPAGE="https://rigaux.org/hexedit.html"
+DOWNLOAD="https://github.com/pixel/hexedit/archive/1.6.tar.gz"
+MD5SUM="9b5849759dbda9ab25ec22818c16e970"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES=""
-- 
2.35.8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20240216/7693d5d8/attachment.htm>


More information about the SlackBuilds-users mailing list