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

Alexander Rødseth arodseth at archlinux.org
Tue Jun 20 16:31:37 UTC 2017


    Date: Tuesday, June 20, 2017 @ 16:31:37
  Author: arodseth
Revision: 239076

upgpkg: kotlin 1.1.2.5-1

Modified:
  kotlin/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-20 16:30:30 UTC (rev 239075)
+++ PKGBUILD	2017-06-20 16:31:37 UTC (rev 239076)
@@ -3,8 +3,7 @@
 # Contributor: Romain Gautier <romain.gautier at nimamoh.com>
 
 pkgname=kotlin
-pkgver=1.1.2
-_dashver=5
+pkgver=1.1.2.5
 pkgrel=1
 pkgdesc='The Kotlin programming language'
 arch=('any')
@@ -12,9 +11,9 @@
 license=('apache' 'custom')
 makedepends=('setconf')
 depends=('bash' 'java-environment>=8')
-source=("https://github.com/JetBrains/kotlin/releases/download/v${pkgver%.0}-$_dashver/kotlin-compiler-${pkgver%.0}-$_dashver.zip")
+source=("https://github.com/JetBrains/kotlin/releases/download/v${pkgver%.*}-${pkgver##*.}/kotlin-compiler-${pkgver%.*}-${pkgver##*.}.zip")
+sha256sums=('2ddd001ec2a3a7f70f30ff22b7ee4f8eff2c195b8942b468a2d122c78fb50e72')
 
-
 prepare() {
   cd "${pkgname}c/bin"
 
@@ -57,4 +56,3 @@
 
 # getver: github.com/JetBrains/kotlin/releases/latest
 # vim: ts=2 sw=2 et:
-md5sums=('5944c3291cc297b833e6b35df27166b0')



More information about the arch-commits mailing list