summaryrefslogtreecommitdiff
path: root/community/pinot
diff options
context:
space:
mode:
Diffstat (limited to 'community/pinot')
-rw-r--r--community/pinot/PKGBUILD36
-rw-r--r--community/pinot/pinot.changelog3
2 files changed, 26 insertions, 13 deletions
diff --git a/community/pinot/PKGBUILD b/community/pinot/PKGBUILD
index 37a9cb738..ce8b81e24 100644
--- a/community/pinot/PKGBUILD
+++ b/community/pinot/PKGBUILD
@@ -1,12 +1,13 @@
-# $Id: PKGBUILD 76182 2012-09-12 19:21:50Z jlichtblau $
+# $Id: PKGBUILD 76755 2012-09-28 23:44:46Z arodseth $
# 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>
+# Contributor: Alexander Rødseth <rodseth@gmail.com>
pkgname=pinot
pkgver=1.01
-pkgrel=1
+pkgrel=2
pkgdesc='Personal search and metasearch tool'
arch=('i686' 'x86_64' 'mips64el')
url='http://code.google.com/p/pinot-search/'
@@ -29,22 +30,31 @@ source=(http://pinot-search.googlecode.com/files/$pkgname-$pkgver.tar.gz)
sha256sums=('a2a82009db05ca7abb4ffbd8baafa8fb820a7e961fd3cdcb21af46bb05eb57d4')
build() {
- cd "${srcdir}/$pkgname-$pkgver"
- sed -i 's|/usr/share/libtextcat/|/usr/share/libtextcat/LM/|' textcat_conf.txt
+ cd $srcdir/$pkgname-$pkgver
+ x='/usr/share/libtextcat/'
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|" textcat3_conf.txt
+ sed -i "s|$x|${x}LM/|" \
+ textcat_conf.txt \
+ textcat3_conf.txt \
+ textcat31_conf.txt \
+ textcat32_conf.txt
+ sed -i -e "s|.*russian$|${x}LM/russian-iso8859_5.lm russian-iso8859_5\n\
+${x}LM/russian-koi8_r.lm russian-koi8_r\n\
+${x}LM/russian-windows1251.lm russian-windows1251|" textcat3_conf.txt
- LIBS="-lboost_system" ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --enable-gtkmm3=yes
+ LIBS="-lboost_system" ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib \
+ --enable-gtkmm3=yes \
+ --enable-mempool=no
make
}
package() {
- cd "${srcdir}/$pkgname-$pkgver"
+ cd $srcdir/$pkgname-$pkgver
- make DESTDIR="${pkgdir}" install
+ make DESTDIR=$pkgdir install
}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/pinot/pinot.changelog b/community/pinot/pinot.changelog
index ab865bc42..4cf1a68a2 100644
--- a/community/pinot/pinot.changelog
+++ b/community/pinot/pinot.changelog
@@ -1,3 +1,6 @@
+2012-09-29 Alexander Rødseth <rodseth@gmail.com>
+ * fix FS#31510, adding --enable-mempool=no
+
2012-09-12 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
* pinot 1.01-1