1 # Maintainer: dryes <joswiseman@gmail>
2 # Contributor: Dan Serban
3 # Contributor: Vishnevsky Roman <aka dot x0x01 at gmail dot com>
4 # Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
8 pkgdesc='Free open-source SQL full-text search engine.'
10 url='http://www.sphinxsearch.com/'
12 depends=('unixodbc' 'expat' 'libmysqlclient')
13 optdepends=('postgresql')
14 backup=('etc/conf.d/sphinx')
15 source=("http://sphinxsearch.com/files/${pkgname}-${pkgver}-release.tar.gz" 'sphinx.conf.d' 'sphinx.rc.d')
18 cd "${srcdir}/${pkgname}-${pkgver}-release"
19 ./configure --prefix=/usr --exec-prefix=/usr --program-prefix='sphinx-' \
20 --localstatedir=/var/lib/sphinx --sysconfdir=/etc/sphinx --enable-id64
25 cd "${srcdir}/${pkgname}-${pkgver}-release"
26 make DESTDIR="${pkgdir}" install
27 install -Dm755 "${srcdir}/sphinx.rc.d" "${pkgdir}/etc/rc.d/sphinx"
28 install -Dm644 "${srcdir}/sphinx.conf.d" "${pkgdir}/etc/conf.d/sphinx"
31 md5sums=('a1293aecd5034aa797811610beb7ba89'
32 '48e3e1857919d26d5104a48caffb531b'
33 'd886222593c6bba891fd3ce982c90c00')