updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ruby-cri / PKGBUILD
blob0010de60eccc544dc75918453164a40d9a69b316
1 # Maintainer: Lucky <aur.archlinux.org [at] lucky.take0ver [dot] net>
3 pkgname=ruby-cri
4 _pkgname="${pkgname#ruby-}"
5 pkgver=2.0.2
6 pkgrel=1
7 pkgdesc="Cri is a library for building easy-to-use commandline tools."
8 url="http://rubygems.org/gems/cri"
9 arch=("any")
10 license=("MIT")
11 depends=("ruby")
12 source=("http://gems.rubyforge.org/gems/${_pkgname}-${pkgver}.gem")
13 noextract=("${_pkgname}-${pkgver}.gem")
14 md5sums=("234074de80e6f72e72160b1bcb4a25f5")
16 package() {
17   cd "${srcdir}"
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"