Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkgname='rubinius-git'
- pkgver=20100618
- pkgrel=1
- pkgdesc="Rubinius, the Ruby VM"
- arch=('i686' 'x86_64')
- license=('BSD')
- url="http://github.com/evanphx/rubinius"
- source=()
- md5sums=()
- depends=(openssl readline zlib)
- makedepends=(git bison ruby1.8 rubygems1.8 ruby1.8-rake)
- _gitroot="git://github.com/evanphx/rubinius.git"
- _gitname="master"
- build(){
- cd "$srcdir"
- msg "Connecting to GIT server...."
- if [ -d $_gitname ] ; then
- cd $_gitname && git pull origin
- msg "The local files are updated."
- else
- git clone $_gitroot $_gitname
- fi
- msg "GIT checkout done or server timeout"
- msg "Starting make..."
- rm -rf "$srcdir/$_gitname-build"
- git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
- cd "$srcdir/$_gitname-build"
- ruby-1.8 configure --skip-system --prefix=/usr/lib --bindir=/usr/bin --mandir=/usr/share/man --includedir=/usr/include/rubinius
- FAKEROOT="$pkgdir/" /opt/ruby1.8/lib/ruby/gems/1.8/bin/rake install
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement