[arch-commits] Commit in kotlin/repos/community-any (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Sat Jul 13 13:55:51 UTC 2019


    Date: Saturday, July 13, 2019 @ 13:55:51
  Author: arodseth
Revision: 489362

archrelease: copy trunk to community-any

Added:
  kotlin/repos/community-any/PKGBUILD
    (from rev 489361, kotlin/trunk/PKGBUILD)
Deleted:
  kotlin/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  116 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-13 13:55:12 UTC (rev 489361)
+++ PKGBUILD	2019-07-13 13:55:51 UTC (rev 489362)
@@ -1,58 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Romain Gautier <romain.gautier at nimamoh.com>
-
-pkgname=kotlin
-pkgver=1.3.31
-pkgrel=1
-pkgdesc='Statically typed programming language that can interoperate with Java'
-arch=(any)
-url='https://kotlinlang.org/'
-license=(APACHE custom)
-depends=('java-environment>=8')
-makedepends=(setconf)
-source=("https://github.com/JetBrains/kotlin/releases/download/v${pkgver/_/-}/kotlin-compiler-${pkgver/_/-}.zip")
-sha256sums=('107325d56315af4f59ff28db6837d03c2660088e3efeb7d4e41f3e01bb848d6a')
-
-prepare() {
-  cd "${pkgname}c/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"
-}
-
-package() {
-  cd "${pkgname}c"
-
-  # executables
-  install -Dm755 -t "$pkgdir/usr/bin" bin/kotlin
-  install -Dm755 -t "$pkgdir/usr/bin" bin/kotlinc
-  install -Dm755 -t "$pkgdir/usr/bin" bin/kotlinc-js
-  install -Dm755 -t "$pkgdir/usr/bin" bin/kotlinc-jvm
-
-  # jar files
-  cd "$srcdir/${pkgname}c/lib"
-  install -d "$pkgdir/usr/share/$pkgname/lib"
-  for jar in *.jar; do
-    install -Dm644 "$jar" "$pkgdir/usr/share/$pkgname/lib"
-  done
-
-  # licenses
-  cd "$srcdir/${pkgname}c/license"
-  install -d "$pkgdir/usr/share/licenses/$pkgname"
-  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname"
-  install -Dm644 NOTICE.txt "$pkgdir/usr/share/licenses/$pkgname"
-
-  cd third_party
-  for txt in *.txt; do
-    install -Dm644 "$txt" "$pkgdir/usr/share/licenses/$pkgname"
-  done
-
-  # build.txt must be installed for for "-version" to work
-  cd "$srcdir/${pkgname}c"
-  install -Dm644 build.txt "$pkgdir/usr/share/$pkgname"
-}
-
-# getver: github.com/JetBrains/kotlin/releases/latest
-# vim: ts=2 sw=2 et:

Copied: kotlin/repos/community-any/PKGBUILD (from rev 489361, kotlin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-13 13:55:51 UTC (rev 489362)
@@ -0,0 +1,58 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Romain Gautier <romain.gautier at nimamoh.com>
+
+pkgname=kotlin
+pkgver=1.3.41
+pkgrel=1
+pkgdesc='Statically typed programming language that can interoperate with Java'
+arch=(any)
+url='https://kotlinlang.org/'
+license=(APACHE custom)
+depends=('java-environment>=8')
+makedepends=(setconf)
+source=("https://github.com/JetBrains/kotlin/releases/download/v${pkgver/_/-}/kotlin-compiler-${pkgver/_/-}.zip")
+sha256sums=('c44ab6866895606e408b60934ebe45d4befcbc33ea0e4ea73c4b3b89ad770132')
+
+prepare() {
+  cd "${pkgname}c/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"
+}
+
+package() {
+  cd "${pkgname}c"
+
+  # executables
+  install -Dm755 -t "$pkgdir/usr/bin" bin/kotlin
+  install -Dm755 -t "$pkgdir/usr/bin" bin/kotlinc
+  install -Dm755 -t "$pkgdir/usr/bin" bin/kotlinc-js
+  install -Dm755 -t "$pkgdir/usr/bin" bin/kotlinc-jvm
+
+  # jar files
+  cd "$srcdir/${pkgname}c/lib"
+  install -d "$pkgdir/usr/share/$pkgname/lib"
+  for jar in *.jar; do
+    install -Dm644 "$jar" "$pkgdir/usr/share/$pkgname/lib"
+  done
+
+  # licenses
+  cd "$srcdir/${pkgname}c/license"
+  install -d "$pkgdir/usr/share/licenses/$pkgname"
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname"
+  install -Dm644 NOTICE.txt "$pkgdir/usr/share/licenses/$pkgname"
+
+  cd third_party
+  for txt in *.txt; do
+    install -Dm644 "$txt" "$pkgdir/usr/share/licenses/$pkgname"
+  done
+
+  # build.txt must be installed for for "-version" to work
+  cd "$srcdir/${pkgname}c"
+  install -Dm644 build.txt "$pkgdir/usr/share/$pkgname"
+}
+
+# getver: github.com/JetBrains/kotlin/releases/latest
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list