From 8080275b2eba75a6637aa42d58c72fb7a94bc730 Mon Sep 17 00:00:00 2001 From: Petar Petrov Date: Sat, 6 Aug 2022 07:55:42 +0100 Subject: [PATCH] academic/SeqMonk: Updated for version 1.48.1. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- academic/SeqMonk/SeqMonk.SlackBuild | 10 +++++++--- academic/SeqMonk/SeqMonk.info | 6 +++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/academic/SeqMonk/SeqMonk.SlackBuild b/academic/SeqMonk/SeqMonk.SlackBuild index 10fa8efaef..b60bcfaf2e 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 diff --git a/academic/SeqMonk/SeqMonk.info b/academic/SeqMonk/SeqMonk.info index af8b37178c..96c43dcda5 100644 --- a/academic/SeqMonk/SeqMonk.info +++ b/academic/SeqMonk/SeqMonk.info @@ -1,10 +1,10 @@ PRGNAM="SeqMonk" -VERSION="1.47.1" +VERSION="1.48.1" HOMEPAGE="https://www.bioinformatics.babraham.ac.uk/projects/seqmonk/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://www.bioinformatics.babraham.ac.uk/projects/seqmonk/seqmonk_v1.47.1_linux64.tar.gz" -MD5SUM_x86_64="e7c80b113e4c80d26e7eca468a636134" +DOWNLOAD_x86_64="https://www.bioinformatics.babraham.ac.uk/projects/seqmonk/seqmonk_v1.48.1_linux64.tar.gz" +MD5SUM_x86_64="6f2e51bf589682e35fedfcf0fdb2667b" REQUIRES="R" MAINTAINER="Petar Petrov" EMAIL="slackalaxy@gmail.com"