1 # Contributor: Sebastien Duquette <ekse.0x@gmail.com>
5 pkgdesc="Ruby gem robots is a robots.txt parser"
7 url="http://github.com/fizx/robots"
10 makedepends=('rubygems')
11 source=("http://gems.rubyforge.org/gems/robots-$pkgver.gem")
12 noextract=("robots-$pkgver.gem")
13 md5sums=('a6d9183593ddd2324f62e2e78ab8712a')
17 # _gemdir is defined inside build() because if ruby[gems] is not installed on the system
18 # makepkg will barf when sourcing the PKGBUILD
19 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
21 gem install --ignore-dependencies -i "$pkgdir$_gemdir" robots-$pkgver.gem
24 # vim:set ts=2 sw=2 et: