1 # Contributor: unexist <unexist@dorfelite.net>
5 pkgdesc="Ruby-FFI is a ruby extension for programmatically loading dynamic libraries, binding functions within them, and calling those functions from Ruby code."
7 url="http://github.com/ffi/ffi"
11 source=(http://gems.rubyforge.org/gems/ffi-$pkgver.gem)
12 source=(http://rubygems.org/gems/ffi-$pkgver.gem)
13 noextract=(ffi-$pkgver.gem)
14 md5sums=("26cb2b4e15c077d0f1df150840c14900")
18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20 gem install --ignore-dependencies -i "$pkgdir$_gemdir" ffi-$pkgver.gem