academic/ucsc-blat: Fix and mv ARCH sect, http->https.

Signed-off-by: bedlam <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
D Woodfall 2023-05-16 15:27:20 +01:00 committed by Willy Sudiarto Raharjo
parent 0c6679bceb
commit c1473502bd
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 8 additions and 9 deletions

View file

@ -34,12 +34,16 @@ SRCNAM=blatSuite
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i386 ;;
arm*) ARCH=arm ;;
i?86) ARCH=i586 ;;
*) ARCH=$( uname -m ) ;;
esac
fi
if ! [ "$ARCH" = "x86_64" ] && ! [[ $ARCH =~ i?86 ]]; then
printf "\n\n$ARCH is not supported... \n"
exit 1
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
@ -54,11 +58,6 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
if [ "$ARCH" != "i386" ] && [ "$ARCH" != "x86_64" ]; then
printf "\n\n$ARCH is not supported... \n"
exit 1
fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP

View file

@ -1,9 +1,9 @@
PRGNAM="ucsc-blat"
VERSION="34"
HOMEPAGE="https://users.soe.ucsc.edu/~kent/"
DOWNLOAD="http://hgwdev.cse.ucsc.edu/~kent/exe/linux/blatSuite.34.zip"
DOWNLOAD="https://hgwdev.cse.ucsc.edu/~kent/exe/linux/blatSuite.34.zip"
MD5SUM="ec9fbe02fed2f15051893001da5db767"
DOWNLOAD_x86_64="http://hgwdev.cse.ucsc.edu/~kent/exe/opteron/blatSuite.34.zip"
DOWNLOAD_x86_64="https://hgwdev.cse.ucsc.edu/~kent/exe/opteron/blatSuite.34.zip"
MD5SUM_x86_64="bf9042aa85a04ce85b24cef11011faee"
REQUIRES=""
MAINTAINER="Petar Petrov"