2 # Contributor: Will Chappell <mr.chapendi@gmail.com>
6 pkgdesc="Ioke is a dynamic prototype-based programming language targeted at the Java Virtual Machine."
11 depends=(java-runtime)
12 makedepends=(apache-ant git jdk ruby)
14 md5sums=('212beaafccee04c044385d75b175b055')
15 _gitroot="git://github.com/olabini/ioke.git"
20 msg "Connecting to the $pkgname git repository."
22 if [ -d "$srcdir/$_gitname" ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
34 rm -rf $_gitname-build
35 git clone $_gitname $_gitname-build
40 mkdir -p $startdir/pkg/opt/ioke/
41 mv $startdir/src/${_gitname}-build/* $startdir/pkg/opt/ioke
42 install -D -m755 $startdir/src/ioke.sh $startdir/pkg/etc/profile.d/ioke.sh
44 rm $startdir/pkg/opt/ioke/bin/*.bat
45 rm $startdir/pkg/opt/ioke/bin/*.dll
46 rm $startdir/pkg/opt/ioke/bin/*.mdb
48 rm -f $startdir/pkg/opt/ioke/*.git
49 rm -f $startdir/pkg/opt/ioke/*.xml
50 rm -f $startdir/pkg/opt/ioke/*.rb
51 rm -f $startdir/pkg/opt/ioke/*.build
53 rm -r $startdir/pkg/opt/ioke/bench
54 rm -r $startdir/pkg/opt/ioke/src
55 rm -r $startdir/pkg/opt/ioke/test