updated on Sun Jan 22 04:03:10 UTC 2012
[aur-mirror.git] / xruby / PKGBUILD
blob511b7c6daf7e41dda234a6716649de1c47414537
1 # Contributor: FaziBear <fazibear@gmail.com>
3 pkgname="xruby"
4 pkgver=0.3.2
5 pkgrel=1
6 pkgdesc="XRuby is the first Ruby to Java compiler which compiles Ruby source code (.rb) to Java bytecode (.class)."
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/xruby/"
9 license=(GPL)
10 depends=('jre' 'jdk')
11 makedepends=()
12 provides=()
13 conflicts=()
14 replaces=()
15 backup=()
16 groups=()
17 options=()
18 install=()
19 source=("http://xruby.googlecode.com/files/$pkgname-$pkgver-src.zip" 'xruby.sh')
20 noextract=()
21 md5sums=('839a4246355fcacf1ca0f4407e36d16c' '7884ab66d4e384cce4518bcfbb3c28b6')
22          
23 build() {
24   cd $startdir/src/xruby
25   sh build.sh
26   install -D -m644 $startdir/src/xruby/xruby-$pkgver.jar $startdir/pkg/opt/xruby/xruby.jar
27   install -D -m755 $startdir/xruby.sh $startdir/pkg/usr/bin/xruby