updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / ruby-gir-ffi / PKGBUILD
blobb05424e76c53f8a7887836ceb0bef48b3de7492b
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 # Contributor: Adam Hani Schakaki (krzd) <krzd@krzd.net>
3 pkgname=ruby-gir-ffi
4 _pkgname=gir_ffi
5 pkgver=0.2.3
6 pkgrel=1
7 pkgdesc="FFI-based GObject binding using the GObject Introspection Repository"
8 arch=('any')
9 url="http://github.com/mvz/ruby-gir-ffi"
10 license=('LGPL')
11 depends=('ruby-ffi' 'ruby-indentation' 'gobject-introspection')
12 source=(http://rubygems.org/gems/$_pkgname-$pkgver.gem)
13 noextract=($_pkgname-$pkgver.gem)
14 md5sums=('be8949fd9ac3c93b3dccae29e32ab72e')
16 build() {
17   cd $srcdir
18   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20   gem install --ignore-dependencies -i "$pkgdir$_gemdir" $_pkgname-$pkgver.gem