aboutsummaryrefslogtreecommitdiff
path: root/academic/SeqMonk/SeqMonk.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2022-08-06 07:55:42 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-08-06 20:16:13 +0700
commit8080275b2eba75a6637aa42d58c72fb7a94bc730 (patch)
treedf23d396f1a4febb49a7804415032c9c973b013a /academic/SeqMonk/SeqMonk.SlackBuild
parent2db9c0acac25a97fb0fc5ee3d4795f3940f97032 (diff)
academic/SeqMonk: Updated for version 1.48.1.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/SeqMonk/SeqMonk.SlackBuild')
-rw-r--r--academic/SeqMonk/SeqMonk.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/academic/SeqMonk/SeqMonk.SlackBuild b/academic/SeqMonk/SeqMonk.SlackBuild
index 10fa8efaef37..b60bcfaf2ee6 100644
--- a/academic/SeqMonk/SeqMonk.SlackBuild
+++ b/academic/SeqMonk/SeqMonk.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for SeqMonk
-# Copyright 2020-2021 Petar Petrov slackalaxy@gmail.com
+# Copyright 2020-2022 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=SeqMonk
-VERSION=${VERSION:-1.47.1}
+VERSION=${VERSION:-1.48.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -93,15 +93,19 @@ sed -i 's:java -version:$RealBin/jre/bin/java -version:' seqmonk
# Change icon path and category in the desktop file
sed -i "s:/usr/local/SeqMonk/uk/ac/bbsrc/babraham/SeqMonk/Resources/monk.svg:$EXENAM:" $EXENAM.desktop
sed -i "s:Categories=Application:Categories=Education:" $EXENAM.desktop
+sed -i '/Encoding=UTF-8/d' $EXENAM.desktop
mkdir -p $PKG/opt/$PRGNAM
cp -a \
com edu Help jre net Scripts Templates uk *.jar seqmonk seqmonk_import \
$PKG/opt/$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
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- INSTALL.txt LICENSE LICENSE.txt NOTICE_FOR_COMMONS_MATH_CODE.txt README.md README.txt RELEASE_NOTES.txt \
+ LICENSE LICENSE.txt NOTICE_FOR_COMMONS_MATH_CODE.txt README.md README.txt RELEASE_NOTES.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild