1 # Contributor: Christoph 'delmonico' Neuroth <delmonico@gmx.net>
2 # Contributor: Eric Forgeot < http://ifiction.free.fr >
6 pkgdesc="FXRuby is a Ruby extension module that provides an interface to the FOX GUI library."
7 url="http://www.fxruby.org/"
10 depends=('fox' 'ruby')
11 source=(http://rubyforge.org/frs/download.php/66842/fxruby-1.6.20.gem)
12 md5sums=('da27b50cc0d3524982f45a59ee0472af')
16 # _gemdir is defined inside build() because if ruby[gems] is not installed on the system
17 # makepkg will barf when sourcing the PKGBUILD
18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20 gem install --ignore-dependencies -i "$pkgdir$_gemdir" $pkgname-$pkgver.gem
21 #gem install -i "$pkgdir$_gemdir" $pkgname-$pkgver.gem
23 # ruby install.rb config --prefix=$startdir/pkg/usr
24 # ruby install.rb setup
25 # ruby install.rb install