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

Jan Steffens heftig at archlinux.org
Wed Nov 7 00:17:19 UTC 2018


    Date: Wednesday, November 7, 2018 @ 00:17:18
  Author: heftig
Revision: 402480

archrelease: copy trunk to community-any

Added:
  jruby/repos/community-any/PKGBUILD
    (from rev 402479, jruby/trunk/PKGBUILD)
Deleted:
  jruby/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 00:16:54 UTC (rev 402479)
+++ PKGBUILD	2018-11-07 00:17:18 UTC (rev 402480)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: FaziBear <fazibear at gmail.com>
-
-pkgname=jruby
-pkgver=9.2.0.0
-pkgrel=1
-pkgdesc="100% pure-Java implementation of the Ruby programming language"
-arch=(any)
-url="http://www.jruby.org/"
-license=(EPL GPL2 LGPL2.1 custom)
-options=(!strip)
-noextract=($pkgname-bin-${pkgver}.tar.gz)
-source=(http://jruby.org.s3.amazonaws.com/downloads/$pkgver/$pkgname-bin-${pkgver}.tar.gz)
-sha256sums=('42718dea5fc90b7696cb3fccf8e8d546729173963ad0bc477d66545677d00684')
-
-package() {
-  depends=(java-runtime-headless bash)
-
-  cd "$pkgdir"
-
-  mkdir opt
-  bsdtar -C opt -xf "$srcdir/$pkgname-bin-$pkgver.tar.gz"
-  mv opt/jruby-$pkgver opt/jruby
-
-  find opt/jruby -regextype posix-extended -regex '.*\.(bat|dll|exe)' -print -delete
-  rm -rv opt/jruby/lib/jni/{Darwin,*-SunOS,*-Windows,*-AIX,*-*BSD}
-
-  chmod -cR g-w opt/jruby
-
-  mkdir -p usr/bin
-  for _file in jirb{,_swing} jgem jruby{,c}; do
-    ln -s ../../opt/jruby/bin/$_file usr/bin/$_file
-  done
-
-  mkdir -p usr/share/licenses/$pkgname
-  ln -s ../../../../opt/jruby/COPYING usr/share/licenses/$pkgname/COPYING
-}

Copied: jruby/repos/community-any/PKGBUILD (from rev 402479, jruby/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-07 00:17:18 UTC (rev 402480)
@@ -0,0 +1,38 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: FaziBear <fazibear at gmail.com>
+
+pkgname=jruby
+pkgver=9.2.1.0
+pkgrel=1
+pkgdesc="100% pure-Java implementation of the Ruby programming language"
+arch=(any)
+url="https://www.jruby.org/"
+license=(EPL GPL2 LGPL2.1 custom)
+options=(!strip)
+_tarname=jruby-dist-$pkgver-bin.tar.gz
+noextract=($_tarname)
+source=(https://repo1.maven.org/maven2/org/jruby/jruby-dist/$pkgver/$_tarname)
+md5sums=('767ee3a0e84278de122b0491b7dd4862')
+sha1sums=('6adf63e3c3c109b508d144245f33e4f5a0fe8c1e')
+sha256sums=('8c987378b144eff0dcc553312f1853c05ee9135f3ffdac7b0828b7ad62f32835')
+
+package() {
+  depends=(java-runtime-headless bash)
+
+  cd "$pkgdir"
+
+  mkdir opt
+  bsdtar -C opt -xf "$srcdir/$_tarname"
+  mv opt/jruby-$pkgver opt/jruby
+
+  find opt/jruby -regextype posix-extended -regex '.*\.(bat|dll|exe)' -print -delete
+  rm -rv opt/jruby/lib/jni/{Darwin,*-SunOS,*-Windows,*-AIX,*-*BSD}
+
+  chmod -cR g-w opt/jruby
+
+  mkdir -p usr/bin
+  ln -srt usr/bin opt/jruby/bin/j{irb,irb_swing,gem,ruby,rubyc}
+
+  mkdir -p usr/share/licenses/$pkgname
+  ln -srt usr/share/licenses/$pkgname opt/jruby/COPYING
+}


More information about the arch-commits mailing list