PKGBUILDs/community/pinot/PKGBUILD
2009-10-09 21:15:33 -05:00

37 lines
1.3 KiB
Bash

# Maintainer: Daniel J Griffiths (thanks Gergely Imreh) <ghost1227@archlinux.us>
# Maintainer: Alexander Fehr <pizzapunk gmail com>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=pinot
pkgver=0.93
pkgrel=1
pkgdesc="Personal search and metasearch tool"
arch=('i686' 'x86_64')
url="http://pinot.berlios.de/"
license=('GPL')
depends=('gtkmm' 'xapian-core' 'libtextcat' 'sqlite3' 'libxml++' 'curl'
'gmime' 'dbus-glib' 'shared-mime-info' 'libexif' 'taglib'
'hicolor-icon-theme' 'cairo')
makedepends=('boost' 'desktop-file-utils')
optdepends=('unzip: ZIP files extraction'
'poppler: PDF to text conversion'
'catdvi: DVI to text conversion'
'djvulibre: DjVu text extraction'
'unrtf: RTF to HTML conversion'
'antiword: MS Word to text conversion'
'catdoc: XLS and PPT to text conversion'
'deskbar-applet: Pinot Deskbar-Applet module')
install=pinot.install
source=(http://download.berlios.de/pinot/pinot-$pkgver.tar.gz)
md5sums=('ecb646394b932fd3cb7ce25c995d6b79')
build() {
cd "$srcdir/pinot-$pkgver"
./configure --prefix=/usr --sysconfdir=/etc || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
# Remove Deskbar-Applet handler
rm -rf "$pkgdir/usr/lib/deskbar-applet/handlers" || return 1
}