updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / rubyinline / PKGBUILD
blobe656a253b0cd4d02253e2f930a40e9f8395c7e5a
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=rubyinline
4 pkgver=3.8.4
5 pkgrel=1
6 pkgdesc="Embed C/++ external module code directly into Ruby code"
7 arch=('any')
8 url="http://rubyinline.rubyforge.org/RubyInline/"
9 license=('MIT')
10 depends=('ruby')
11 source=(http://rubyforge.org/frs/download.php/67846/RubyInline-$pkgver.gem
12         LICENSE)
13 md5sums=('682f9138f6cb0393573bf64a5e2b57a6'
14          'e2ad1c2a10f61e83e68935a79ff61cad')
16 build() {
17   cd "$srcdir"
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"