updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / xapian-ruby1.8-bindings / PKGBUILD
blobb5588511634678afb28552c0eb33d09c91c6eaa4
1 # Contributor: Eric Webb <eric AT collectivegenius DOT net> (based on xapian-ruby-bindings by Sean Escriva <sean.escriva@gmail.com>)
2 pkgname=xapian-ruby1.8-bindings
4 _xapianver=1.2.7
6 pkgver=${_xapianver}
7 pkgrel=1
8 pkgdesc="Bindings allowing Xapian to be used from Ruby"
9 arch=('i686' 'x86_64')
10 license=('GPL')
11 url="http://www.xapian.org"
12 depends=("xapian-core=${_xapianver}" 'ruby1.8' )
13 makedepends=("xapian-core=${_xapianver}" 'ruby1.8')
14 source=(http://www.oligarchy.co.uk/xapian/${_xapianver}/xapian-bindings-${_xapianver}.tar.gz)
15 md5sums=('44b83efe4b025c3b5ea3eff4e0f17a9a')
17 RUBY=/opt/ruby1.8/bin/ruby
19 build()
21   
22   cd ${startdir}/src/xapian-bindings-${_xapianver}
23   # build party
24   ./configure --prefix=/usr/ --with-ruby RUBY="$RUBY"
25   make
26   make check
27   make DESTDIR=${startdir}/pkg install