mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-lang/kotlin-bin: bump to 2.2.20
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST kotlin-compiler-2.2.0.zip 78044187 BLAKE2B cc2520d0b93299c715b6be809c94ef0ce2e52f69687429f7e8e1f3fefa9e2e951748b8b0cbef40e51bf47a849210e9e064048707b133a8180c14215c0e763bc5 SHA512 3d5c25cc34e1b916646a1fc5ad8428df52136034fe03e95dcb2b0682eaecb8eeeaf3720422a415872514326e26bb84bb9f6ea46ac5926a77109f56c8421db3e7
|
||||
DIST kotlin-compiler-2.2.10.zip 78048449 BLAKE2B 88ea852505ec086c64c7b1f7debc2dd7b470e1d230b1b4170e763f1487c642b21d505f06ce751a5836153efe212c3288ec493a3147e6ba09bb2b92216652e5de SHA512 cd8264caeebfc909e8895fd72e91ecf4f8e041d758d6dbda2b221849a28760eb33a5dad6e226eefc8f3b7b95863766fcae4e2681ca5b048c2c6778610497ba94
|
||||
DIST kotlin-compiler-2.2.20.zip 78709601 BLAKE2B 926e86639d4a668b1a48f367845a08281c8d32a69dc2c986af6f469e18e3745481c484e9f286d407f2ff771f5cd8a820ccda67ab3701277f071acc3d132d15ef SHA512 726ea63499893d444b6852ff861a54e4951e6f423e0fca9c140a020cfd91974cabba3de2602a3d93f14a57008565e03508ac29f9c1298bdbefba6f4910edbde8
|
||||
|
||||
59
dev-lang/kotlin-bin/kotlin-bin-2.2.20.ebuild
Normal file
59
dev-lang/kotlin-bin/kotlin-bin-2.2.20.ebuild
Normal file
@@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2025 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