updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / xapian-ruby1.8-bindings / PKGBUILD
blob5069f94a541b8d00cd99d61555aeac91057ad722
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.8
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=('4bfe673c71ac074e349ef691d7ba56d0')
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