1 # Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
7 pkgdesc='Ruby/GDK4 is a Ruby binding of GDK-4.x.'
9 url='http://ruby-gnome2.sourceforge.jp/'
11 depends=(ruby gtk4 ruby-cairo-gobject=$pkgver ruby-gdk_pixbuf2=$pkgver ruby-pango=$pkgver)
12 makedepends=(ruby-native-package-installer rake)
14 source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
15 noextract=($_gemname-$pkgver.gem)
16 sha256sums=('3902c58c3c0291341cd042807da83339193cdef21a548af3255f91a0e5b458cd')
19 local _gemdir="$(ruby -e'puts Gem.default_dir')"
20 gem install --ignore-dependencies --no-user-install --no-document -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
21 rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"