summaryrefslogtreecommitdiff
path: root/community/pinot/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/pinot/PKGBUILD')
-rw-r--r--community/pinot/PKGBUILD30
1 files changed, 14 insertions, 16 deletions
diff --git a/community/pinot/PKGBUILD b/community/pinot/PKGBUILD
index 0e6c7e42e..44a999465 100644
--- a/community/pinot/PKGBUILD
+++ b/community/pinot/PKGBUILD
@@ -1,19 +1,17 @@
-# $Id: PKGBUILD 62141 2012-01-16 19:53:05Z dreisner $
+# $Id: PKGBUILD 73687 2012-07-14 05:57:24Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: William Rea <sillywilly@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=pinot
-pkgver=0.98
-pkgrel=2
+pkgver=1.0
+pkgrel=1
pkgdesc='Personal search and metasearch tool'
arch=('i686' 'x86_64')
-url='http://pinot.berlios.de/'
+url='http://code.google.com/p/pinot-search/'
license=('GPL')
-depends=('gtkmm' 'xapian-core' 'libtextcat' 'sqlite3' 'libxml++' 'curl'
- 'gmime' 'dbus-glib' 'shared-mime-info' 'libexif' 'taglib'
- 'hicolor-icon-theme' 'cairo' 'exiv2')
+depends=('gtkmm3' 'xapian-core' 'libtextcat' 'sqlite' 'libxml++' 'curl' 'gmime' 'dbus-glib' 'shared-mime-info' 'libexif' 'taglib' 'hicolor-icon-theme' 'cairo' 'exiv2')
makedepends=('boost' 'desktop-file-utils')
optdepends=('unzip: ZIP files extraction'
'poppler: PDF to text conversion'
@@ -21,22 +19,25 @@ optdepends=('unzip: ZIP files extraction'
'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')
+ 'catdoc: XLS and PPT to text conversion')
options=('!emptydirs')
install=$pkgname.install
changelog=$pkgname.changelog
-source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz)
-sha256sums=('8a89a73a48344074aa8f4534ce68fd18e3d84553645cef864c137ab21d8d341c')
+source=(http://pinot-search.googlecode.com/files/$pkgname-$pkgver.tar.gz)
+sha256sums=('d1f5ac17022014c5a29ba1e6d95fc39bcf254338a4e0bfe84bf16558d219e2e2')
build() {
cd ${srcdir}/$pkgname-$pkgver
sed -i 's|/usr/share/libtextcat/|/usr/share/libtextcat/LM/|' textcat_conf.txt
+ sed -i 's|/LM/russian.lm|/LM/russian-windows1251.lm|' textcat_conf.txt
+ sed -i 's|/usr/share/libtextcat/|/usr/share/libtextcat/LM/|' textcat3_conf.txt
+ sed -i 's|/usr/share/libtextcat/|/usr/share/libtextcat/LM/|' textcat31_conf.txt
+ sed -i 's|/usr/share/libtextcat/|/usr/share/libtextcat/LM/|' textcat32_conf.txt
sed -i -e "s|.*russian$|/usr/share/libtextcat/LM/russian-iso8859_5.lm russian-iso8859_5\n\
/usr/share/libtextcat/LM/russian-koi8_r.lm russian-koi8_r\n\
-/usr/share/libtextcat/LM/russian-windows1251.lm russian-windows1251|" textcat_conf.txt
+/usr/share/libtextcat/LM/russian-windows1251.lm russian-windows1251|" textcat3_conf.txt
- ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
+ ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --enable-gtkmm3=yes
make
}
@@ -44,7 +45,4 @@ package() {
cd ${srcdir}/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
-
- # Remove Deskbar-Applet handler
- rm -rf ${pkgdir}/usr/lib/deskbar-applet/handlers
}