development/wxHexEditor: Update script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2024-03-21 21:08:24 +07:00
parent 47b7d154d7
commit 7f75294f9e
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -5,7 +5,7 @@
# Written by Branko Grubic <branko.grubic@gmail.com>
# Former maintainer Vliegendehuiskat <vliegendehuiskat [at] gmail [dot] com>
# Former maintainer Didier Spaier, Paris, France
# Current maintainer 2015-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# Current maintainer 2015-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
@ -42,9 +42,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
@ -87,7 +84,7 @@ make PREFIX=/usr OPTFLAGS="$SLKCFLAGS" HOST=$ARCH-slackware-linux
make install PREFIX=$PKG/usr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a docs/Change.log docs/GPL.txt $PKG/usr/doc/$PRGNAM-$VERSION
cp docs/Change.log docs/GPL.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install