From 1b4ad6d867420e07b1e397122bcd9f23aae46438 Mon Sep 17 00:00:00 2001 From: Petar Petrov Date: Wed, 13 Sep 2023 21:34:07 +0700 Subject: [PATCH] academic/Gblocks: Update script. Signed-off-by: Willy Sudiarto Raharjo --- academic/Gblocks/Gblocks.SlackBuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/academic/Gblocks/Gblocks.SlackBuild b/academic/Gblocks/Gblocks.SlackBuild index b20f3c47e5..aebb925d1f 100644 --- a/academic/Gblocks/Gblocks.SlackBuild +++ b/academic/Gblocks/Gblocks.SlackBuild @@ -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