1 # Contributor: Lorenzo Nizzi Grifi Gargiolli <lorenzo.nizzi.grifi@gmail.com>
6 pkgdesc="Personal search and metasearch tool - Development version"
8 url="http://pinot.berlios.de/"
10 depends=('gtkmm' 'xapian-core' 'libtextcat' 'sqlite3' 'libxml++2' 'curl' 'gmime'
11 'dbus-glib' 'shared-mime-info' 'libexif' 'taglib' 'hicolor-icon-theme')
12 makedepends=('boost' 'desktop-file-utils' 'svn')
13 optdepends=('unzip: ZIP files extraction'
14 'poppler: PDF to text conversion'
15 'catdvi: DVI to text conversion'
16 'djvulibre: DjVu text extraction'
17 'unrtf: RTF to HTML conversion'
18 'antiword: MS Word to text conversion'
19 'catdoc: XLS and PPT to text conversion'
20 'deskbar-applet: Pinot Deskbar-Applet module')
24 provides=('pinot-git=$pkgver' 'pinot')
27 _svntrunk="http://svn.berlios.de/svnroot/repos/pinot/trunk"
31 mkdir -p ~/.subversion; touch ~/.subversion/servers
33 msg "Connecting to the SVN server...."
35 svn co $_svntrunk $_svnmod -r $pkgver
37 [ -d ./$_svnmod-build ] && rm -fr ./$_svnmod-build
38 cp -r ./$_svnmod ./$_svnmod-build
41 msg "SVN checkout done or server timeout"
42 msg "Starting make..."
44 ./autogen.sh --prefix=/usr --sysconfdir=/etc || return 1
46 make DESTDIR="$pkgdir" install || return 1