diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..138a7d94a8f0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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" +} |