1 # Contributor: gem2arch 0.1
6 pkgdesc="GeoIP searches a GeoIP database for a given host or IP address, and returns information about the country where the IP address is allocated, and the city, ISP and other information, if you have that database version."
8 url="http://github.com/cjheath/geoip"
10 depends=('ruby' 'ruby-hoe>=2.3.3')
11 source=(http://gems.rubyforge.org/gems/geoip-$pkgver.gem)
12 noextract=(geoip-$pkgver.gem)
16 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
17 gem install --ignore-dependencies -i "$pkgdir$_gemdir" ${_realname}-$pkgver.gem
19 md5sums=('8cb763c60b0e65cbbdee138b9fd34298')