mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 08:22:56 +02:00
kotlin-bin: update to 1.3.11.
This commit is contained in:
parent
f1d1a181d9
commit
57e20e6f5a
2 changed files with 8 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'kotlin-bin'
|
||||
pkgname=kotlin-bin
|
||||
version=1.2.60
|
||||
version=1.3.11
|
||||
revision=1
|
||||
wrksrc="kotlinc"
|
||||
only_for_archs="x86_64"
|
||||
|
@ -11,7 +11,7 @@ maintainer="shizonic <realtiaz@gmail.com>"
|
|||
license="Apache-2.0"
|
||||
homepage="https://kotlinlang.org/"
|
||||
distfiles="https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-compiler-${version}.zip"
|
||||
checksum=ff79f695c9be0a500d4b56a69d0b8657b3d106d78a35101e792248af904a623d
|
||||
checksum=03de0f1a4b49d36433e60ae495982f046782eb3725e6e22a04e24ef38be9a409
|
||||
nostrip=yes
|
||||
replaces="kotlin>=0"
|
||||
|
||||
|
@ -20,7 +20,7 @@ pre_install() {
|
|||
setconf kotlin DIR "/usr/bin"
|
||||
setconf kotlinc-js DIR "/usr/bin"
|
||||
setconf kotlinc-jvm DIR "/usr/bin"
|
||||
setconf kotlinc KOTLIN_HOME "/usr/share/${pkgname}"
|
||||
setconf kotlinc KOTLIN_HOME "/usr/share/kotlin-bin"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
@ -31,13 +31,13 @@ do_install() {
|
|||
vbin bin/kotlinc-jvm
|
||||
|
||||
# jar files
|
||||
vmkdir usr/share/${pkgname}/lib
|
||||
vcopy lib/* usr/share/${pkgname}/lib
|
||||
vmkdir usr/share/kotlin-bin/lib
|
||||
vcopy lib/* usr/share/kotlin-bin/lib
|
||||
|
||||
# licenses
|
||||
vlicense license/LICENSE.txt
|
||||
vlicense license/NOTICE.txt
|
||||
|
||||
# build.txt must be installed for for "-version" to work
|
||||
vcopy build.txt usr/share/${pkgname}
|
||||
vcopy build.txt usr/share/kotlin-bin
|
||||
}
|
||||
|
|
2
srcpkgs/kotlin-bin/update
Normal file
2
srcpkgs/kotlin-bin/update
Normal file
|
@ -0,0 +1,2 @@
|
|||
site=https://github.com/JetBrains/kotlin/releases/latest
|
||||
pattern='/archive/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")'
|
Loading…
Add table
Reference in a new issue