diff options
author | D Woodfall <dave@slackbuilds.org> | 2023-05-16 15:27:20 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-20 11:17:56 +0700 |
commit | c1473502bd78f28f0ce262cbfad2e2b01a298d23 (patch) | |
tree | f48aefe0eef9f2d319d3bc3e6ef929ad3c7da265 /academic | |
parent | 0c6679bcebb0ecf50525734c86b331cdb69d5380 (diff) |
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>
Diffstat (limited to 'academic')
-rw-r--r-- | academic/ucsc-blat/ucsc-blat.SlackBuild | 13 | ||||
-rw-r--r-- | academic/ucsc-blat/ucsc-blat.info | 4 |
2 files changed, 8 insertions, 9 deletions
diff --git a/academic/ucsc-blat/ucsc-blat.SlackBuild b/academic/ucsc-blat/ucsc-blat.SlackBuild index d643808d4869..5529adc0acd8 100644 --- a/academic/ucsc-blat/ucsc-blat.SlackBuild +++ b/academic/ucsc-blat/ucsc-blat.SlackBuild @@ -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 diff --git a/academic/ucsc-blat/ucsc-blat.info b/academic/ucsc-blat/ucsc-blat.info index c2b688409149..6f97e59c9995 100644 --- a/academic/ucsc-blat/ucsc-blat.info +++ b/academic/ucsc-blat/ucsc-blat.info @@ -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" |