mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-lang/kotlin-bin: bump to 2.1.20
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST kotlin-compiler-2.1.10.zip 86422666 BLAKE2B f93c1af67eb82ea493fae917c74f4800d4616f246454532dfa98ae8486f97d9471c54e7e2c703c23482e9c52c5435e0bc2cba5f28e18c8801fd0980a06ef32f5 SHA512 283b4a85f729c13af9c168799fa49bd9f9d190109da53e48284662844a2aad40c3a5a7716366ddc82c8c382901756e148265c340c8fcf0ab7b74f2df23e19b0e
|
||||
DIST kotlin-compiler-2.1.20.zip 86919262 BLAKE2B aef3c25f0443e01c437bd354683d0a019eb83988366f0bc68eaf173e7d740a108f183db3bbc4891a552156e8aad7779155da88c13f54fd5d2b79d246f670416d SHA512 6f11a90ff16cd88f3f1a16bb3dd13673d9de02caa280abd080bff2af576c24004f7cff66fcc1e99f8bd5d51010468ae9d18a5191091ab779450bac9adc0e0263
|
||||
|
||||
59
dev-lang/kotlin-bin/kotlin-bin-2.1.20.ebuild
Normal file
59
dev-lang/kotlin-bin/kotlin-bin-2.1.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