commit:     28eb719e361c59e3d478d93cd5e8ba220addda78
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 13 10:07:41 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Jun 13 10:09:09 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28eb719e

dev-util/scala-ide: version bump.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-util/scala-ide/Manifest               |  1 +
 dev-util/scala-ide/scala-ide-4.7.0.ebuild | 56 +++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/scala-ide/Manifest b/dev-util/scala-ide/Manifest
index 8c5bd9b065a..266697a459d 100644
--- a/dev-util/scala-ide/Manifest
+++ b/dev-util/scala-ide/Manifest
@@ -2,3 +2,4 @@ DIST scala-SDK-4.1.0-vfinal-2.11-linux.gtk.x86.tar.gz 232347349 
BLAKE2B 14b19835
 DIST scala-SDK-4.1.0-vfinal-2.11-linux.gtk.x86_64.tar.gz 232491001 BLAKE2B 
021bad9b9eb49dfdf60d11f8d2b03b8288ff1b5efb14d1b16d8b5afadaff2162f87c2d6a2ef24d5779fdd0110d9806dc506582bd993a02580511e50834ffb48a
 SHA512 
d5b8fe3cb3d6623e2f29e0ad5d279b363143c9b392ea5d91092ecb9de765828ac0c50c74ff879f7c825099b22a833ad3acbb0c2cfcd51c769ee19082905b63eb
 DIST scala-SDK-4.3.0-vfinal-2.11-linux.gtk.x86.tar.gz 237898838 BLAKE2B 
0d5044340945d6a5d1630c3e48790fb4f8af17b2fb9a54e14138b18891ccd9409cb6f95bf07d9061813b14a9b7449322903f4e12d0bb12211f6f4bb9383a9065
 SHA512 
b8fcac4e0eeace0d146028e2f1551cdd3f58d38830430080e7aa5ccd581ae6a31992a5d1f39b6e8fcb30979953f0b9777166d2de73d7310621c9e7fa2e620f3d
 DIST scala-SDK-4.3.0-vfinal-2.11-linux.gtk.x86_64.tar.gz 238040666 BLAKE2B 
8b425a726eaf62ce71b25f77ab376d04e00900ad640dddbd08f434cd0c78e6c18f41b9c7a8495711600765a3e864cbdfc2757c984290ccb76b3bc59a1ff28caa
 SHA512 
70f3a481065f79532a4a0463e2549e4ecb0590e6d6e1ca7704629eced4393a7e4f7b22cd7c368a852c1d8f63cff949db02a7dd7f1be71cd30f52219c5cfbefd5
+DIST scala-SDK-4.7.0-vfinal-2.12-linux.gtk.x86_64.tar.gz 281266580 BLAKE2B 
dd7e38385228e5bcb5d9997324e5f9abeba8b9c1a09bb503eb0b10368df89ee48357900123e230341880356f24eb1e3138326970e4dc6bd85204a48422a464b4
 SHA512 
622f930b665b1187baaa416f3172dc6b48551148c6267fa251e1ab17cdc5c78cccce07371ce909e59af0202d7e9a0126aa9e1d22798e0498f217e7e541e0e1a8

diff --git a/dev-util/scala-ide/scala-ide-4.7.0.ebuild 
b/dev-util/scala-ide/scala-ide-4.7.0.ebuild
new file mode 100644
index 00000000000..352b17b8112
--- /dev/null
+++ b/dev-util/scala-ide/scala-ide-4.7.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit java-pkg-opt-2
+
+# scala-ide -> scalaide
+S_PACK="${PN/-/}-pack"
+
+# scala-ide -> scala-SDK-${PV}
+S_SDK="${PN%-*}-SDK-${PV}"
+
+SRC_URI_AMD64="http://downloads.typesafe.com/${S_PACK}/${PV}-vfinal-oxygen-212-20170929/${S_SDK}-vfinal-2.12-linux.gtk.x86_64.tar.gz";
+SRC_URI_X86="http://downloads.typesafe.com/${S_PACK}/${PV}-vfinal-oxygen-212-20170929/${S_SDK}-vfinal-2.12-linux.gtk.x86_64.tar.gz";
+
+DESCRIPTION="The Scala IDE"
+HOMEPAGE="http://www.scala-ide.org";
+KEYWORDS="~amd64 ~x86"
+SRC_URI="
+       amd64? ( ${SRC_URI_AMD64} )
+       x86? ( ${SRC_URI_X86} )
+"
+
+SLOT="0"
+LICENSE="BSD"
+
+RDEPEND=">=virtual/jdk-1.6
+       || (
+               dev-lang/scala
+               dev-lang/scala-bin
+       )"
+
+MY_D="/opt"
+
+src_unpack() {
+       default
+       unpack ${A}
+       mv "${WORKDIR}"/eclipse "${WORKDIR}/${P}" || die
+}
+
+src_prepare() {
+       default
+       mv "${WORKDIR}/${P}"/eclipse "${WORKDIR}/${P}/${PN}" || die
+}
+
+src_install() {
+       cd "${D}" || die
+       dodir "${MY_D}"
+       insinto "${MY_D}"
+       doins -r "${WORKDIR}/${P}"
+       insopts -m 0755
+       insinto "${MY_D}/${P}"
+       doins "${WORKDIR}/${P}/${PN}"
+       dosym "${MY_D}/${P}/${PN}" "/usr/bin/${PN}"
+}

Reply via email to