# Generated by gem2arch (https://github.com/anatol/gem2arch) # Maintainer: kulpae _gemname=gobject-introspection pkgname=ruby-$_gemname-3.0.7 pkgver=3.0.7 pkgrel=1 pkgdesc='Ruby/GObjectIntrospection is a Ruby binding of GObjectIntrospection.' arch=(i686 x86_64) url='http://ruby-gnome2.sourceforge.jp/' license=('LGPL2.1') depends=(ruby ruby-glib2-3.0.7 gobject-introspection-runtime) options=(!emptydirs) source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem) noextract=($_gemname-$pkgver.gem) sha1sums=('794c81a17474e297793bb9a1ecff0e1cde6ea6fb') package() { local _gemdir="$(ruby -e'puts Gem.default_dir')" gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem" }