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
1 changed files with 7 additions and 6 deletions

View File

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