1 # Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
2 pkgname=ruby-mkrf # All lowercase
5 pkgdesc="Is a library for generating Rakefiles"
7 url="http://rubyforge.org/projects/mkrf/"
9 depends=(ruby) # Gem may depend on other gems as well (you can get dependency information from the yaml specification)
10 source=(http://gems.rubyforge.org/gems/mkrf-$pkgver.gem)
11 noextract=(mkrf-$pkgver.gem)
12 md5sums=('9506a6b1ea97246bb43c18e98861d080')
16 # _gemdir is defined inside build() because if ruby[gems] is not installed on the system
17 # makepkg will barf when sourcing the PKGBUILD
18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20 gem install --ignore-dependencies -i "$pkgdir$_gemdir" mkrf-$pkgver.gem
23 # vim:set ts=2 sw=2 et: