updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ruby-zoom / PKGBUILD
blobf3171296f15347a812b94cb31d020d9d6b545130
1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
2 # Contributor: William Rea <sillywilly@gmail.com>
3 # Contributor: Andrea Scarpino <bash.lnx@gmail.com>
5 pkgname=ruby-zoom
6 _pkgname=zoom
7 pkgver=0.4.1
8 pkgrel=2
9 pkgdesc="A Ruby binding to the Z39.50 Object-Orientation Model"
10 arch=('i686' 'x86_64')
11 url="http://rubyforge.org/projects/ruby-zoom/"
12 license=('LGPL')
13 depends=('ruby' 'yaz')
14 source=(http://rubyforge.org/frs/download.php/28211/$_pkgname-$pkgver.gem)
15 md5sums=('8f061f41f607dede2f26d7055b5cd3ac')
17 build() {
18   cd $srcdir
19   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20   gem install --ignore-dependencies -i \
21     $pkgdir/${_gemdir} ${_pkgname}-$pkgver.gem