updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / ruby-bson_ext / PKGBUILD
blob6b1081578e6ebe817423dc72cc208c108c1ce72c
1 # Maintainer: eagletmt <eagletmt@gmail.com>
2 pkgname=ruby-bson_ext
3 _realname=bson_ext
4 pkgver=1.5.2
5 pkgrel=1
6 pkgdesc='C extensions for Ruby BSON.'
7 arch=("i686" "x86_64")
8 url='http://www.mongodb.org'
9 license=('Apache')
10 depends=("ruby" "ruby-bson=1.5.2")
11 makedepends=('rubygems')
12 source=(http://rubygems.org/downloads/$_realname-$pkgver.gem)
13 noextract=($_realname-$pkgver.gem)
15 build() {
16   cd "$srcdir"
17   local _gemdir="$(ruby -rubygems -e 'puts Gem.default_dir')"
18   gem install --ignore-dependencies -i "$pkgdir$_gemdir" $_realname-$pkgver.gem
21 # vim:set ts=2 sw=2 et:
22 md5sums=('4531d8bd253aaf560a8d0ba9127e5e83')