1 # Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
2 # Contributor: Allan McRae <allan@archlinux.org>
3 # Contributor: John Proctor <jproctor@prium.net>
4 # Contributor: Jeramy Rutley <jrutley@gmail.com>
9 pkgname=$_pkgbasename-prerelease
10 _pkgbasever=${pkgver/_/-}
11 pkgdesc="An object-oriented language for quick and easy programming; prerelease version"
12 arch=('i686' 'x86_64')
14 url="http://www.ruby-lang.org/en/"
16 depends=('gdbm' 'db' 'openssl' 'zlib' 'readline' 'libffi')
17 provides=('rubygems' 'rake' "ruby=$pkgver" "ruby-docs=$pkgver")
18 conflicts=('rubygems' 'rake' 'ruby' 'ruby-docs')
19 optdepends=('tk: for Ruby/TK')
20 source=("ftp://ftp.ruby-lang.org/pub/$_pkgbasename/$_pkgbasename-$_pkgbasever.tar.bz2")
21 options=('!emptydirs')
24 cd "$srcdir/$_pkgbasename-$_pkgbasever"
25 ./configure --prefix=/usr --enable-shared --enable-pthread
31 cd "$srcdir/$_pkgbasename-$_pkgbasever"
32 make DESTDIR="${pkgdir}" install install-doc
33 install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
36 md5sums=('4e4906d0aab711286b31f5a834860cc3')
37 md5sums=('d8a02cadf57d2571cd4250e248ea7e4b')