summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Julian Grinblat2022-07-20 05:03:09 +0200
committer Willy Sudiarto Raharjo2022-07-23 06:13:11 +0200
commit8442f6df581ad4c4f576145edf437963b10e0905 (patch)
tree107fd6743a328d42d343c8c785725a7435df848c
parent317ba8c42b965d40c94e1d80e41e1957f432cc51 (diff)
downloadslackbuilds-8442f6df581ad4c4f576145edf437963b10e0905.tar.gz
development/sbt: Updated for version 1.7.1.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/sbt/sbt.SlackBuild7
-rw-r--r--development/sbt/sbt.info10
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"