kotlin-bin: add missing replaces variable (#1220)

kotlin-bin: update to 1.2.60.

kotlin: rename to kotlin-bin
This commit is contained in:
Toby Merz 2018-08-03 21:30:27 +02:00 committed by cr6git
parent 05da86bb55
commit 018536460c

View file

@ -1,8 +1,8 @@
# Template file for 'kotlin'
pkgname=kotlin
version=1.2.51
# Template file for 'kotlin-bin'
pkgname=kotlin-bin
version=1.2.60
revision=1
wrksrc="${pkgname}c"
wrksrc="kotlinc"
only_for_archs="x86_64"
makedepends="unzip setconf"
depends="openjdk"
@ -10,9 +10,10 @@ short_desc="Statically typed programming language that can interoperate with Jav
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=8a74711c805d3d265b93c13d8c40af5b4dad324591450d2eef0eafc1c9a6f92c
distfiles="https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-compiler-${version}.zip"
checksum=ff79f695c9be0a500d4b56a69d0b8657b3d106d78a35101e792248af904a623d
nostrip=yes
replaces="kotlin>=0"
pre_install() {
cd bin