1 # Contributor: Simon Lipp <sloonz+aur@gmail.com
2 # Maintainer: Alexsandr Pavlov <kidoz at mail dot ru>
4 _gemname=${pkgname#ruby-}
7 pkgdesc="A simple universally unique ID generation library."
9 url="http://uuidtools.rubyforge.org"
11 depends=('ruby' 'rubygems')
12 source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
13 noextract=(${_gemname}-${pkgver}.gem)
14 md5sums=('bb1d901c18ffb584c60e567cca8dceee')
19 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20 gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" ${_gemname}-${pkgver}.gem