1 # Maintainer: Lucky <aur.archlinux.org [at] lucky.take0ver [dot] net>
4 _pkgname="${pkgname#ruby-}"
7 pkgdesc="Cri is a library for building easy-to-use commandline tools."
8 url="http://rubygems.org/gems/cri"
12 source=("http://gems.rubyforge.org/gems/${_pkgname}-${pkgver}.gem")
13 noextract=("${_pkgname}-${pkgver}.gem")
14 md5sums=("234074de80e6f72e72160b1bcb4a25f5")
18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
19 gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" "${_pkgname}-${pkgver}.gem" \
20 -n "${pkgdir}/usr/bin"