1 # Contributor: Tomohiro Takezawa <khabus {at} gmail.com>
6 pkgdesc="the Next-Generation Ruby reference manual interface"
8 url="http://doc.loveruby.net/wiki/BitClust.html"
12 makedepends=('subversion')
17 _svntrunk=http://i.loveruby.net/svn/rubydoc/bitclust/trunk
23 if [ -d $_svnmod/.svn ]; then
24 (cd $_svnmod && svn up -r $pkgver)
26 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29 msg "SVN checkout done or server timeout"
30 msg "Starting make..."
32 cp -r $_svnmod $_svnmod-build
35 ruby setup.rb config --prefix=$pkgdir/usr --siterubyver=$pkgdir/usr/lib/ruby/site_ruby/1.8 || return 1
36 ruby setup.rb install || return 1
38 rm -rf ${srcdir}/$_svnmod-build