[arch-commits] Commit in kotlin/repos/community-any (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at gemini.archlinux.org
Sat Nov 20 12:59:28 UTC 2021
Date: Saturday, November 20, 2021 @ 12:59:27
Author: arodseth
Revision: 1052871
archrelease: copy trunk to community-any
Added:
kotlin/repos/community-any/PKGBUILD
(from rev 1052870, kotlin/trunk/PKGBUILD)
Deleted:
kotlin/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-20 12:59:22 UTC (rev 1052870)
+++ PKGBUILD 2021-11-20 12:59:27 UTC (rev 1052871)
@@ -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.5.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")
-b2sums=('be9e644caf46f6fb514de078cf7913e5d2eacdd67a987c5544241fd43e06fb649aff8be317d0ca35d24d5a15acd111b214234260a954aa86848cf02a04eb46c5')
-
-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 1052870, kotlin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-20 12:59:27 UTC (rev 1052871)
@@ -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.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
More information about the arch-commits
mailing list