diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-20 12:55:08 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-20 12:55:08 +0700 |
commit | 585eeb33ba45ce6ca5010f60121ed90454764e76 (patch) | |
tree | 5b65c2badb1132e9cdb2ed58e8368a1160922492 /development/wxHexEditor | |
parent | 8004ae01f2451e96258d1e2a8b1bd81c6284cb9e (diff) |
development/wxHexEditor: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/wxHexEditor')
-rw-r--r-- | development/wxHexEditor/wxHexEditor.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/development/wxHexEditor/wxHexEditor.SlackBuild b/development/wxHexEditor/wxHexEditor.SlackBuild index b297d1549056..dbd15488248a 100644 --- a/development/wxHexEditor/wxHexEditor.SlackBuild +++ b/development/wxHexEditor/wxHexEditor.SlackBuild @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=wxHexEditor VERSION=${VERSION:-20170415_bb951eb} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -83,8 +83,11 @@ find -L . \ make PREFIX=/usr OPTFLAGS="$SLKCFLAGS" HOST=$ARCH-slackware-linux make install PREFIX=$PKG/usr +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 + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp docs/Change.log docs/GPL.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a 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 |