updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / ruby-ffi / PKGBUILD
blob9389acfde0ae9800024221f400d6ab3bb42c0abb
1 # Contributor: unexist <unexist@dorfelite.net>
2 pkgname=ruby-ffi
3 pkgver=1.0.11
4 pkgrel=1
5 pkgdesc="Ruby-FFI is a ruby extension for programmatically loading dynamic libraries, binding functions within them, and calling those functions from Ruby code."
6 arch=(any)
7 url="http://github.com/ffi/ffi"
8 license=("custom")
9 depends=("ruby")
10 makedepends=("ruby")
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")
16 build() {
17  cd $srcdir
18  local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20  gem install --ignore-dependencies -i "$pkgdir$_gemdir" ffi-$pkgver.gem