summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Sielicki <sielicki@yandex.com>2019-02-12 13:38:29 -0600
committerPatrice Clement <monsieurp@gentoo.org>2019-02-24 23:16:10 +0100
commit56d92804921b6450f1a7972be59a10c03f264bcd (patch)
tree04d7ca3d0a6a0614463d47cdd6a38a7263996494
parentnet-im/signal-desktop-bin: remove old version. (diff)
downloadgentoo-56d92804921b6450f1a7972be59a10c03f264bcd.tar.gz
gentoo-56d92804921b6450f1a7972be59a10c03f264bcd.tar.bz2
gentoo-56d92804921b6450f1a7972be59a10c03f264bcd.zip
dev-java/sbt-bin: version bump v1.1.5 -> v1.2.8.
Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Nicholas Sielicki <sielicki@yandex.com> Closes: https://github.com/gentoo/gentoo/pull/11038 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
-rw-r--r--dev-java/sbt-bin/Manifest1
-rw-r--r--dev-java/sbt-bin/sbt-bin-1.2.8.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-java/sbt-bin/Manifest b/dev-java/sbt-bin/Manifest
index 66dc11323382..870508a202fa 100644
--- a/dev-java/sbt-bin/Manifest
+++ b/dev-java/sbt-bin/Manifest
@@ -1,2 +1,3 @@
DIST sbt-1.1.4.tgz 45858350 BLAKE2B 792b05bf9bf16968c6580f070e042395b13580c6137a6592ca66bc3b02df3b27676b49364db8c6d2ec259b22b09a7e7a2d364e940890be38a96ba079066c4fa2 SHA512 7b278ecd22d4778482c61ec2e9650c8dd199c341aaaa624fee6b7f8989203de3d4dac24c4181ee08f0da50c69901321a1e11a535f0911241c9f6bfdfab5e94b8
DIST sbt-1.1.5.tgz 49603901 BLAKE2B b458600bec2610fd76e5ca21633738b6815bf6c3e2918814147c904b97ab80b972a15b31f555777d0aa7f2e4613eef9b109745476d0cd7166506573aa2a72873 SHA512 bb538d88ec5ee7bb08b5eed6e7e250c45ee25419952473e4f093391316f936b26cc181f21c7b3501b9126a5c1f21b10514adffea4f9a09f7920203ba6330c2d4
+DIST sbt-1.2.8.tgz 47179935 BLAKE2B f31dcf25168471cb7315d8dc8f168321098fbfbf985bcc5aa294ea95c6b65d299ee0f9b457d6dc3569eff6117f0fbf5fd51b37ca9294f7bcca2256f52e07b73f SHA512 e12d50de4481dc599b8e129b5caf86b4a6a42426612308f9c8dd791525b5ae325e65f1c1db479bdc00fed2421c108a0dcdd00585f90334446e2cef914484719a
diff --git a/dev-java/sbt-bin/sbt-bin-1.2.8.ebuild b/dev-java/sbt-bin/sbt-bin-1.2.8.ebuild
new file mode 100644
index 000000000000..fc9acfcd4e6a
--- /dev/null
+++ b/dev-java/sbt-bin/sbt-bin-1.2.8.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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
+}