1 # Maintainer: TDY <tdy@gmx.com>
6 pkgdesc="Embed C/++ external module code directly into Ruby code"
8 url="http://rubyinline.rubyforge.org/RubyInline/"
11 source=(http://rubyforge.org/frs/download.php/67846/RubyInline-$pkgver.gem
13 md5sums=('682f9138f6cb0393573bf64a5e2b57a6'
14 'e2ad1c2a10f61e83e68935a79ff61cad')
18 local _gemdir="$(ruby -rubygems -e 'puts Gem.default_dir')"
19 gem install --ignore-dependencies -i "$pkgdir$_gemdir" \
20 -n "$pkgdir/usr/bin" RubyInline-$pkgver.gem || return 1
21 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"