updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ruby-nokogiri / PKGBUILD
bloba65a82cdc2c4bbc4644fc0236b3038e5383f8c2d
1 # Maintainer: eagletmt <eagletmt@gmail.com>
2 pkgname=ruby-nokogiri
3 _realname=nokogiri
4 pkgver=1.5.0
5 pkgrel=1
6 pkgdesc='HTML, XML, SAX, and Reader parser'
7 arch=("i686" "x86_64")
8 url='http://nokogiri.org/'
9 license=('MIT')
10 depends=("ruby" "libxslt")
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" -n "$pkgdir/usr/bin" $_realname-$pkgver.gem
21 # vim:set ts=2 sw=2 et:
23 md5sums=('91aef0c0d912554f0abfbd82666a0504')