academic/Gblocks: Update script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Petar Petrov 2023-09-13 21:34:07 +07:00 committed by Willy Sudiarto Raharjo
parent c47ee5f131
commit 1b4ad6d867
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -2,7 +2,7 @@
# Slackware build script for Gblocks
# Copyright 2011-2021 Petar Petrov slackalaxy@gmail.com
# Copyright 2011-2023 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=Gblocks
VERSION=${VERSION:-0.91b}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -83,6 +83,7 @@ install -D -m755 Gblocks $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/share/$PRGNAM
cp -a more_alignments nad3.pir paths $PKG/usr/share/$PRGNAM
chmod 0755 $PKG/usr/share/$PRGNAM/more_alignments
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