[arch-commits] Commit in kotlin/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Sat May 27 10:17:56 UTC 2017


    Date: Saturday, May 27, 2017 @ 10:17:54
  Author: arodseth
Revision: 230546

upgpkg: kotlin 1.1.2-3

Modified:
  kotlin/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-27 09:42:26 UTC (rev 230545)
+++ PKGBUILD	2017-05-27 10:17:54 UTC (rev 230546)
@@ -4,16 +4,17 @@
 
 pkgname=kotlin
 pkgver=1.1.2
-pkgrel=2
+_dashver=2
+pkgrel=3
 pkgdesc='The Kotlin programming language'
 arch=('any')
 url='http://kotlinlang.org/'
 license=('apache' 'custom')
 makedepends=('setconf')
-depends=('bash' 'java-environment>=6')
-source=("https://github.com/JetBrains/kotlin/releases/download/v${pkgver%.0}/kotlin-compiler-${pkgver%.0}.zip")
-sha256sums=('cb6d30b14adb0067477042e12c1d15e5a26cf80ef6a115e248ed4a89cbf6cf4e')
+depends=('bash' 'java-environment>=8')
+source=("https://github.com/JetBrains/kotlin/releases/download/v${pkgver%.0}-$_dashver/kotlin-compiler-${pkgver%.0}-$_dashver.zip")
 
+
 prepare() {
   cd "${pkgname}c/bin"
 
@@ -26,7 +27,7 @@
 package() {
   cd "${pkgname}c"
 
-  # executables
+  # Executables
   install -Dm755 bin/kotlinc "$pkgdir/usr/bin/kotlinc"
   install -Dm755 bin/kotlin "$pkgdir/usr/bin/kotlin"
   install -Dm755 bin/kotlinc-js "$pkgdir/usr/bin/kotlinc-js"
@@ -39,7 +40,7 @@
     install -Dm644 "$jar" "$pkgdir/usr/share/$pkgname/lib"
   done
 
-  # licenses
+  # Licenses
   cd "$srcdir/${pkgname}c/license"
   install -d "$pkgdir/usr/share/licenses/$pkgname"
   install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname"
@@ -49,10 +50,11 @@
     install -Dm644 "$txt" "$pkgdir/usr/share/licenses/$pkgname"
   done
 
-  # for -version to work
+  # build.txt must be installed for for "-version" to work
   cd "$srcdir/${pkgname}c"
   install -Dm644 build.txt "$pkgdir/usr/share/$pkgname"
 }
 
-# getver: raw.githubusercontent.com/JetBrains/kotlin/master/ChangeLog.md
+# getver: github.com/JetBrains/kotlin/releases/latest
 # vim: ts=2 sw=2 et:
+md5sums=('13bdc70fa7ade2f75ba1197251534a4b')



More information about the arch-commits mailing list