diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2018-10-26 21:39:24 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-10-28 23:37:04 +0100 |
commit | 5e630ef844c7e60ea4db7eb2094cd410d1e26f74 (patch) | |
tree | 58ce6e3afb774bef1b8b55798e06cc0614357119 /dev-java | |
parent | dev-java/leiningen-bin: clean up old. (diff) | |
download | gentoo-5e630ef844c7e60ea4db7eb2094cd410d1e26f74.tar.gz gentoo-5e630ef844c7e60ea4db7eb2094cd410d1e26f74.tar.bz2 gentoo-5e630ef844c7e60ea4db7eb2094cd410d1e26f74.zip |
dev-java/sbt-bin: version bump.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/sbt-bin/Manifest | 1 | ||||
-rw-r--r-- | dev-java/sbt-bin/sbt-bin-1.1.5.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-java/sbt-bin/Manifest b/dev-java/sbt-bin/Manifest index 41bd0a313e57..8a06d29b38a9 100644 --- a/dev-java/sbt-bin/Manifest +++ b/dev-java/sbt-bin/Manifest @@ -5,3 +5,4 @@ DIST sbt-0.13.7.tgz 1058904 BLAKE2B b199c28b97364434dc7b7d3a25e9c6598160c9900621 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 +DIST sbt-1.1.5.tgz 49603901 BLAKE2B b458600bec2610fd76e5ca21633738b6815bf6c3e2918814147c904b97ab80b972a15b31f555777d0aa7f2e4613eef9b109745476d0cd7166506573aa2a72873 SHA512 bb538d88ec5ee7bb08b5eed6e7e250c45ee25419952473e4f093391316f936b26cc181f21c7b3501b9126a5c1f21b10514adffea4f9a09f7920203ba6330c2d4 diff --git a/dev-java/sbt-bin/sbt-bin-1.1.5.ebuild b/dev-java/sbt-bin/sbt-bin-1.1.5.ebuild new file mode 100644 index 000000000000..7d39ba4f4053 --- /dev/null +++ b/dev-java/sbt-bin/sbt-bin-1.1.5.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 +} |