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

Alexander Rødseth arodseth at gemini.archlinux.org
Thu Dec 30 13:37:38 UTC 2021


    Date: Thursday, December 30, 2021 @ 13:37:38
  Author: arodseth
Revision: 1088303

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  110 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-30 13:37:33 UTC (rev 1088302)
+++ PKGBUILD	2021-12-30 13:37:38 UTC (rev 1088303)
@@ -1,55 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Romain Gautier <romain.gautier at nimamoh.com>
-
-pkgname=kotlin
-pkgver=1.6.0
-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")
-b2sums=('9dca23a8be572bb1d6b61556238b09d2d0a8824d4897dcdde978bf9e74a969901ba845393e0248f68634f1e72ab9633b27b510f0f1175506a1cdd8a88d395fab')
-
-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 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"
-  for txt in third_party/*.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

Copied: kotlin/repos/community-any/PKGBUILD (from rev 1088302, kotlin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-30 13:37:38 UTC (rev 1088303)
@@ -0,0 +1,55 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Romain Gautier <romain.gautier at nimamoh.com>
+
+pkgname=kotlin
+pkgver=1.6.10
+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")
+b2sums=('8f6bbc18ae8fb03b2450a0c0b58fd29c3c08e8c67cac97c4e77eee2b99ae492f2d71f56192dfbed278501c5595b7dc38fbef1842c9ce962a1572b662734d5a8d')
+
+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 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"
+  for txt in third_party/*.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



More information about the arch-commits mailing list