summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2018-04-15 14:42:56 +0200
committerPatrice Clement <monsieurp@gentoo.org>2018-04-15 18:40:19 +0200
commit071f0e57ff6441f6225a8e0023c894b9832de464 (patch)
tree96a245bc7838e3efc0fa8d3104db1deec81fe275 /dev-java
parentdev-libs/libressl: arm stable wrt bug #651564 (diff)
downloadgentoo-071f0e57ff6441f6225a8e0023c894b9832de464.tar.gz
gentoo-071f0e57ff6441f6225a8e0023c894b9832de464.tar.bz2
gentoo-071f0e57ff6441f6225a8e0023c894b9832de464.zip
dev-java/sbt-bin: version bump.
Closes: https://bugs.gentoo.org/632536 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/sbt-bin/Manifest1
-rw-r--r--dev-java/sbt-bin/sbt-bin-1.1.4.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-java/sbt-bin/Manifest b/dev-java/sbt-bin/Manifest
index ea33ecd84bb..41bd0a313e5 100644
--- a/dev-java/sbt-bin/Manifest
+++ b/dev-java/sbt-bin/Manifest
@@ -4,3 +4,4 @@ DIST sbt-0.13.6.tgz 1066241 BLAKE2B b4cf59409b82fc851e9978421b324da549dd376d89b3
DIST sbt-0.13.7.tgz 1058904 BLAKE2B b199c28b97364434dc7b7d3a25e9c6598160c9900621f4c470abab6b415c66bec9ba2d573beee5064efc2a6466ee79acfea53514b29ab0994b25353199fa7c40 SHA512 6022ed88b2d25f947ab068b7971e51fdcf8df77cea3d0a03eceff6df4442f013fd13cbeda11cdfcc35cc23ee85e1661986c53921f48d4350e2fa8bf0ae5f3e1f
DIST sbt-0.13.8.tgz 1059183 BLAKE2B 5ad55bda946891cde52bbae0483ed3ffa7507a0467a75ae1bed6f08e7befa7dfa04c61efeeda59d31586db432cc7f406347f4f68b2c0c172516b1a4eb1bec477 SHA512 79479308c631b78b71196dfe4f8b26bd9b75727272c17432fce5ddd61a0dcaf4e261dd1eb9a8376b1e7a836ba6d84917819d181c35d19b543360d803193286d8
DIST sbt-0.13.9.tgz 1049367 BLAKE2B de8f70de43aa6ccd816c90b82ee92295d7b33fd43226fadce48f9bd00c515838ae275e513ed438a5b758541a75520d86b0b6f93e3a3d01f468b3b338fe672667 SHA512 cf0deb1a5a07ce3690a831a2ee0f499a5c904cd9a9038873ab78773717a12ce4dec668e00c3dd6b89e7919357c32b26ff97a78613de5c6252b495bc7fdc763f3
+DIST sbt-1.1.4.tgz 45858350 BLAKE2B 792b05bf9bf16968c6580f070e042395b13580c6137a6592ca66bc3b02df3b27676b49364db8c6d2ec259b22b09a7e7a2d364e940890be38a96ba079066c4fa2 SHA512 7b278ecd22d4778482c61ec2e9650c8dd199c341aaaa624fee6b7f8989203de3d4dac24c4181ee08f0da50c69901321a1e11a535f0911241c9f6bfdfab5e94b8
diff --git a/dev-java/sbt-bin/sbt-bin-1.1.4.ebuild b/dev-java/sbt-bin/sbt-bin-1.1.4.ebuild
new file mode 100644
index 00000000000..7d39ba4f405
--- /dev/null
+++ b/dev-java/sbt-bin/sbt-bin-1.1.4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit java-pkg-2
+
+DESCRIPTION="sbt, a build tool for Scala"
+HOMEPAGE="https://scala-sbt.org"
+SRC_URI="https://github.com/sbt/sbt/releases/download/v${PV}/${PN/-bin}-${PV}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=virtual/jre-1.7
+ !dev-java/sbt"
+
+src_unpack() {
+ default
+ mv "${WORKDIR}/sbt" "${S}" || die
+}
+
+src_prepare() {
+ default
+ java-pkg_init_paths_
+}
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ local dest="${JAVA_PKG_SHAREPATH}"
+
+ rm -v bin/sbt.bat || die
+ sed -i -e 's#bin/sbt-launch.jar#lib/sbt-launch.jar#g;' \
+ bin/sbt-launch-lib.bash || die
+
+ insinto "${dest}/lib"
+ doins bin/* || die
+
+ insinto "${dest}"
+ doins -r conf || die
+
+ fperms 0755 "${dest}/lib/sbt" || die
+ dosym "${dest}/lib/sbt" /usr/bin/sbt || die
+}