mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-22 04:19:06 -07:00
dev-lang/kotlin-bin: drop old 2.0.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST kotlin-compiler-2.0.0.zip 83767523 BLAKE2B 4627ec2ccf0751baee141a980f14bace98a96b4f826b72f001dc2e27afe1fa60b3967e533e775f7dd81a5e682670cd38c02378884a2d543caca050aee519e765 SHA512 ca723146188a60a995089d4b06bb23c83bfb2dbaabbbad632921601babbccddf4e3f0519692018480b7a0a7a1d0ce3002dcb6f4a445dc2dfa2a2b8f4e39364c7
|
||||
DIST kotlin-compiler-2.0.10.zip 83745882 BLAKE2B acd359e348fdb8fbb339a2fcd5fedb165990cc366f0c717644360267aa161e96b8813e0569a0ebc8f2d5de65f25c780c733b6b50c14e8b943344c31a492f0534 SHA512 ba0eac447eb62726604fe9f0d563b1fa8d23001f3ed6053954269e3f342886533a1fa2a8fc4d8f1e7aaae7b94db96a72f195f2b886eb7a50d1e6c25ac80ba106
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit java-pkg-2 wrapper
|
||||
|
||||
DESCRIPTION="Statically typed language that targets the JVM and JavaScript"
|
||||
HOMEPAGE="https://kotlinlang.org/
|
||||
https://github.com/JetBrains/kotlin/"
|
||||
SRC_URI="https://github.com/JetBrains/kotlin/releases/download/v${PV}/kotlin-compiler-${PV}.zip"
|
||||
S="${WORKDIR}/kotlinc"
|
||||
|
||||
LICENSE="Apache-2.0 BSD MIT NPL-1.1"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8:*
|
||||
"
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
"
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
rm bin/*.bat || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar lib/*
|
||||
|
||||
# Follow the Java eclass JAR installation path.
|
||||
local app_home="/usr/share/${PN}"
|
||||
|
||||
exeinto "${app_home}/bin"
|
||||
doexe bin/*
|
||||
|
||||
local -a exes=(
|
||||
kapt
|
||||
kotlin
|
||||
kotlinc
|
||||
kotlinc-js
|
||||
kotlinc-jvm
|
||||
kotlin-dce-js
|
||||
)
|
||||
local exe
|
||||
for exe in "${exes[@]}" ; do
|
||||
make_wrapper "${exe}" "${app_home}/bin/${exe}"
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user