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

Alexander Rødseth arodseth at archlinux.org
Wed Oct 4 15:42:07 UTC 2017


    Date: Wednesday, October 4, 2017 @ 15:42:05
  Author: arodseth
Revision: 261495

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-04 15:41:52 UTC (rev 261494)
+++ PKGBUILD	2017-10-04 15:42:05 UTC (rev 261495)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Romain Gautier <romain.gautier at nimamoh.com>
-
-pkgname=kotlin
-pkgver=1.1.50
-pkgrel=1
-pkgdesc='The Kotlin programming language'
-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=('b5106298e10a934f11685b1c80e47a5b4960c039100d5640bb4a285e32a8c707')
-
-prepare() {
-  cd "${pkgname}c/bin"
-
-  setconf kotlin DIR /usr/bin
-  setconf kotlinc KOTLIN_HOME "/usr/share/$pkgname"
-  setconf kotlinc-js DIR /usr/bin
-  setconf kotlinc-jvm DIR /usr/bin
-}
-
-package() {
-  cd "${pkgname}c"
-
-  # Executables
-  install -Dm755 bin/kotlinc "$pkgdir/usr/bin/kotlinc"
-  install -Dm755 bin/kotlin "$pkgdir/usr/bin/kotlin"
-  install -Dm755 bin/kotlinc-js "$pkgdir/usr/bin/kotlinc-js"
-  install -Dm755 bin/kotlinc-jvm "$pkgdir/usr/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 261494, kotlin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-10-04 15:42:05 UTC (rev 261495)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Romain Gautier <romain.gautier at nimamoh.com>
+
+pkgname=kotlin
+pkgver=1.1.51
+pkgrel=1
+pkgdesc='The Kotlin programming language'
+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=('0b346b138390eb0235a6700f52cc1e2b491cf1f6db179a6d06a279ef1af57ccd')
+
+prepare() {
+  cd "${pkgname}c/bin"
+
+  setconf kotlin DIR /usr/bin
+  setconf kotlinc KOTLIN_HOME "/usr/share/$pkgname"
+  setconf kotlinc-js DIR /usr/bin
+  setconf kotlinc-jvm DIR /usr/bin
+}
+
+package() {
+  cd "${pkgname}c"
+
+  # Executables
+  install -Dm755 bin/kotlinc "$pkgdir/usr/bin/kotlinc"
+  install -Dm755 bin/kotlin "$pkgdir/usr/bin/kotlin"
+  install -Dm755 bin/kotlinc-js "$pkgdir/usr/bin/kotlinc-js"
+  install -Dm755 bin/kotlinc-jvm "$pkgdir/usr/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