updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / ruby-bson / PKGBUILD
blob325eda1f3ffb1dc2d892fc5ae9647f039ad85f06
1 # Maintainer: eagletmt <eagletmt@gmail.com>
2 pkgname=ruby-bson
3 _realname=bson
4 pkgver=1.5.2
5 pkgrel=1
6 pkgdesc='Ruby implementation of BSON'
7 arch=("any")
8 url='http://www.mongodb.org'
9 license=('Apache')
10 depends=("ruby")
11 optdepends=('yajl-ruby: for b2json')
12 makedepends=('rubygems')
13 source=(http://rubygems.org/downloads/$_realname-$pkgver.gem)
14 noextract=($_realname-$pkgver.gem)
16 build() {
17   cd "$srcdir"
18   local _gemdir="$(ruby -rubygems -e 'puts Gem.default_dir')"
19   gem install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" $_realname-$pkgver.gem
22 # vim:set ts=2 sw=2 et:
23 md5sums=('b7d8fbf4ea2330a6669b21034436f8b7')