updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / ruby-arel / PKGBUILD
blob9c14026df12d62a8bc9f5d1b8e6b02db6c6a404f
1 # Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
2 pkgname=ruby-arel
3 _gemname=${pkgname#ruby-}
4 pkgver=2.2.1
5 pkgrel=1
6 pkgdesc="Is a Relational Algebra for Ruby."
7 arch=('any')
8 url="http://github.com/brynary/arel"
9 license=('MIT')
10 depends=('ruby' 'rubygems')
11 source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
12 noextract=(${_gemname}-${pkgver}.gem)
13 md5sums=('984b6cbe44546a7aeaa7370a85597cac')
15 build() {
16   cd "${srcdir}"
17   export HOME=/tmp
18   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
19   gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" ${_gemname}-${pkgver}.gem