# Generated by gem2arch (https://github.com/anatol/gem2arch) # Contributor: Ethan Best # Contributor: Balló György _gemname=gtk3 pkgname=ruby-$_gemname pkgver=3.2.6 pkgrel=1 pkgdesc='Ruby/GTK3 is a Ruby binding of GTK+-3.x.' arch=('x86_64') url='http://ruby-gnome2.sourceforge.jp/' license=(LGPL2.1) depends=(ruby-atk ruby-gdk3 ruby-gdk_pixbuf2 ruby-gio2 ruby-glib2 ruby-pango gtk3) makedepends=(gobject-introspection rake) options=(!emptydirs) source=(git+https://github.com/ruby-gnome2/ruby-gnome2) noextract=($_gemname-$pkgver.gem) sha256sums=('SKIP') build(){ cd ruby-gnome2/gtk3 rake gem } package() { local _gemdir="$(ruby -e'puts Gem.default_dir')" cd ruby-gnome2/gtk3/pkg gem install --ignore-dependencies --no-user-install --no-document -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem" }