Date: Wednesday, November 7, 2018 @ 00:16:54 Author: heftig Revision: 402479
9.2.1.0-1 Modified: jruby/trunk/PKGBUILD ----------+ PKGBUILD | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-11-06 23:37:11 UTC (rev 402478) +++ PKGBUILD 2018-11-07 00:16:54 UTC (rev 402479) @@ -2,16 +2,19 @@ # Contributor: FaziBear <fazib...@gmail.com> pkgname=jruby -pkgver=9.2.0.0 +pkgver=9.2.1.0 pkgrel=1 pkgdesc="100% pure-Java implementation of the Ruby programming language" arch=(any) -url="http://www.jruby.org/" +url="https://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') +_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) @@ -19,7 +22,7 @@ cd "$pkgdir" mkdir opt - bsdtar -C opt -xf "$srcdir/$pkgname-bin-$pkgver.tar.gz" + bsdtar -C opt -xf "$srcdir/$_tarname" mv opt/jruby-$pkgver opt/jruby find opt/jruby -regextype posix-extended -regex '.*\.(bat|dll|exe)' -print -delete @@ -28,10 +31,8 @@ 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 + ln -srt usr/bin opt/jruby/bin/j{irb,irb_swing,gem,ruby,rubyc} mkdir -p usr/share/licenses/$pkgname - ln -s ../../../../opt/jruby/COPYING usr/share/licenses/$pkgname/COPYING + ln -srt usr/share/licenses/$pkgname opt/jruby/COPYING }