aboutsummaryrefslogtreecommitdiff
path: root/academic/Gblocks
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2021-05-18 15:17:02 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-18 23:40:03 +0700
commit99dda03f3c1250b1a69c6e205527679ef7148671 (patch)
tree564357cf005f58ec2193fcb855b14e361d46fcf0 /academic/Gblocks
parent325cef87619616e9e2984067752d30364a5d292a (diff)
academic/Gblocks: update Copyright year + misc cleanups
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/Gblocks')
-rw-r--r--academic/Gblocks/Gblocks.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/academic/Gblocks/Gblocks.SlackBuild b/academic/Gblocks/Gblocks.SlackBuild
index 2a71e48b91f5e..0def5eb796f82 100644
--- a/academic/Gblocks/Gblocks.SlackBuild
+++ b/academic/Gblocks/Gblocks.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Gblocks
-# Copyright 2011-2016 Petar Petrov slackalaxy@gmail.com
+# Copyright 2011-2021 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=Gblocks
VERSION=${VERSION:-0.91b}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -65,15 +65,15 @@ tar xvf $CWD/$TARNAME.tar.Z
cd ${PRGNAM}_${VERSION}
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
install -D -m755 Gblocks $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/share/$PRGNAM
-cp -a more_alignments/* $PKG/usr/share/$PRGNAM
+cp -a more_alignments nad3.pir paths $PKG/usr/share/$PRGNAM
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