summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 138a7d94a8f05446cf07ac10e0aec0328d10e7ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Generated by gem2arch (https://github.com/anatol/gem2arch)
# Maintainer: kulpae <my.shando@googlemail.com>

_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"
}