updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / ruby-sane / PKGBUILD
blob76b0b1f4416a389ee9d74ea3fbba0f38551aea22
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=ruby-sane
4 pkgver=0.23.4
5 pkgrel=1
6 pkgdesc="Extensions of ruby-core"
7 arch=('any')
8 url="http://rubygems.org/gems/sane/"
9 license=('unknown')
10 depends=('ruby-os')
11 source=(http://rubygems.org/downloads/sane-$pkgver.gem)
12 md5sums=('c3a32f00785135e6a65d7fc79ba9a9fc')
14 build() {
15   cd "$srcdir"
16  local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
17   gem install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" \
18     sane-$pkgver.gem