From 8442f6df581ad4c4f576145edf437963b10e0905 Mon Sep 17 00:00:00 2001 From: Julian Grinblat Date: Wed, 20 Jul 2022 04:03:09 +0100 Subject: development/sbt: Updated for version 1.7.1. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- development/sbt/sbt.SlackBuild | 7 +++++-- development/sbt/sbt.info | 10 +++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/development/sbt/sbt.SlackBuild b/development/sbt/sbt.SlackBuild index e79b74c7e0..97ce5d71a0 100644 --- a/development/sbt/sbt.SlackBuild +++ b/development/sbt/sbt.SlackBuild @@ -25,12 +25,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sbt -VERSION=${VERSION:-1.6.2} +VERSION=${VERSION:-1.7.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -ARCH=noarch +ARCH=x86_64 # 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 @@ -66,6 +66,9 @@ chmod 755 $PKG/usr/bin/sbt cat $CWD/sbtn.sh > $PKG/usr/bin/sbtn chmod 755 $PKG/usr/bin/sbtn +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/etc/sbt cp sbt/conf/sbtopts sbt/conf/sbtconfig.txt $PKG/etc/sbt/ chmod 644 $PKG/etc/sbt/sbtopts diff --git a/development/sbt/sbt.info b/development/sbt/sbt.info index 9fa4c4c728..b396f37bfc 100644 --- a/development/sbt/sbt.info +++ b/development/sbt/sbt.info @@ -1,10 +1,10 @@ PRGNAM="sbt" -VERSION="1.6.2" +VERSION="1.7.1" HOMEPAGE="https://www.scala-sbt.org/" -DOWNLOAD="https://github.com/sbt/sbt/releases/download/v1.6.2/sbt-1.6.2.tgz" -MD5SUM="5e2e6995ea563113a2c9c8c531629b39" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://github.com/sbt/sbt/releases/download/v1.7.1/sbt-1.7.1.tgz" +MD5SUM_x86_64="34c6270820c861935ba545aa54556421" REQUIRES="zulu-openjdk8" MAINTAINER="Julian Grinblat" EMAIL="julian@dotcore.co.il" -- cgit v1.2.3