1 # Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
2 # Contributor: FaziBear <fazibear@gmail.com>
7 pkgdesc="JRuby is 100% pure-Java implementation of the Ruby programming language."
9 url="http://www.jruby.org"
10 license=(CPL GPL2 LGPL2.1 custom)
11 depends=(java-runtime)
13 source=("http://$pkgname.org.s3.amazonaws.com/downloads/$pkgver/$pkgname-bin-$pkgver.tar.gz")
14 md5sums=('246a7aa2b7d7e6e9e8a0c2e282cbcfd0')
17 makedepends=(java-environment apache-ant)
21 tar -C .. -xf dist/$pkgname-bin-$pkgver.tar.gz
29 cp -r "$srcdir/jruby-$pkgver" opt/jruby
32 for _file in jirb jruby jgem jrubyc; do
33 ln -s /opt/jruby/bin/$_file usr/bin/$_file
36 install -Dm644 "$srcdir/jruby-$pkgver/COPYING" \
37 usr/share/licenses/$pkgname/COPYING