1 # Generated by gem2arch (https://github.com/anatol/gem2arch)
2 # Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
8 pkgdesc='Ruby/ATK is a Ruby binding of ATK-1.0.x.'
10 url='http://ruby-gnome2.sourceforge.jp/'
12 depends=(ruby atk ruby-glib2=$pkgver)
13 makedepends=(ruby-native-package-installer ruby-rake)
15 source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
16 noextract=($_gemname-$pkgver.gem)
17 sha256sums=('4ee3b47e038d5f1156d7c658f983183623bf6da8a5b756509df1f69d1b77ed29')
20 local _gemdir="$(ruby -e'puts Gem.default_dir')"
21 gem install --ignore-dependencies --no-user-install --no-document -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
22 rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"