Date: Monday, April 23, 2018 @ 10:05:38
  Author: arodseth
Revision: 317365

upgpkg: kotlin 1.2.40-1

Modified:
  kotlin/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-04-23 10:00:22 UTC (rev 317364)
+++ PKGBUILD    2018-04-23 10:05:38 UTC (rev 317365)
@@ -3,7 +3,7 @@
 # Contributor: Romain Gautier <romain.gaut...@nimamoh.com>
 
 pkgname=kotlin
-pkgver=1.2.31
+pkgver=1.2.40
 pkgrel=1
 pkgdesc='Statically typed programming language that can interoperate with Java'
 arch=('any')
@@ -12,14 +12,14 @@
 depends=('java-environment>=8')
 makedepends=('setconf')
 
source=("https://github.com/JetBrains/kotlin/releases/download/v${pkgver/_/-}/kotlin-compiler-${pkgver/_/-}.zip";)
-sha256sums=('da99c6ba77a5222955292eafbfe8459a4696960ef8e5585cbe71cee49cdc8026')
+sha256sums=('3498571126c335be0feec24075c359f1954d46bbabccafc729ec49db1a509658')
 
 prepare() {
   cd "${pkgname}c/bin"
 
-  setconf kotlin      DIR /usr/bin
-  setconf kotlinc-js  DIR /usr/bin
-  setconf kotlinc-jvm DIR /usr/bin
+  setconf kotlin      DIR         "/usr/bin"
+  setconf kotlinc-js  DIR         "/usr/bin"
+  setconf kotlinc-jvm DIR         "/usr/bin"
   setconf kotlinc     KOTLIN_HOME "/usr/share/$pkgname"
 }
 
@@ -26,11 +26,11 @@
 package() {
   cd "${pkgname}c"
 
-  # Executables
+  # executables
   install -Dm755 bin/kotlin      "$pkgdir/usr/bin/kotlin"
+  install -Dm755 bin/kotlinc     "$pkgdir/usr/bin/kotlinc"
   install -Dm755 bin/kotlinc-js  "$pkgdir/usr/bin/kotlinc-js"
   install -Dm755 bin/kotlinc-jvm "$pkgdir/usr/bin/kotlinc-jvm"
-  install -Dm755 bin/kotlinc     "$pkgdir/usr/bin/kotlinc"
 
   # jar files
   cd "$srcdir/${pkgname}c/lib"
@@ -39,7 +39,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"

Reply via email to