summaryrefslogtreecommitdiffstats
path: root/development/sbt
diff options
context:
space:
mode:
Diffstat (limited to 'development/sbt')
-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..4df72d53c3 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.10.0}
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..879ea0f289 100644
--- a/development/sbt/sbt.info
+++ b/development/sbt/sbt.info
@@ -1,10 +1,10 @@
PRGNAM="sbt"
-VERSION="1.6.2"
+VERSION="1.10.0"
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.10.0/sbt-1.10.0.tgz"
+MD5SUM_x86_64="581a3a4b6922810bac3d00dd50be3f2e"
REQUIRES="zulu-openjdk8"
MAINTAINER="Julian Grinblat"
EMAIL="julian@dotcore.co.il"