diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-10-01 10:50:46 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-10-01 10:50:46 -0300 |
commit | 3aff11a8581ae7e5a8ccea02062cd92f873c44c5 (patch) | |
tree | 05623159a5ae88f6eed2414db216bc9a0d2d71c5 /community/pinot/PKGBUILD | |
parent | d4157e6db6dd7e03802aa9c361a1902e81c2545a (diff) | |
parent | 9b6be78b0c13a61c14d5278f1363eaf9c6388e4c (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/geany/PKGBUILD
community/linux-tools/PKGBUILD
community/linux-tools/cpupower.conf
community/linux-tools/cpupower.rc
community/stk/PKGBUILD
core/patch/PKGBUILD
core/systemd/PKGBUILD
extra/lftp/PKGBUILD
extra/lftp/lftp-4.3.8-gets.patch
extra/mysql/PKGBUILD
extra/qt/PKGBUILD
extra/transmission/PKGBUILD
gnome-unstable/gcr/PKGBUILD
gnome-unstable/glibmm/PKGBUILD
gnome-unstable/gnome-session/PKGBUILD
gnome-unstable/libgdata/PKGBUILD
gnome-unstable/libgnome-keyring/PKGBUILD
gnome-unstable/pango/PKGBUILD
gnome-unstable/polkit/PKGBUILD
gnome-unstable/telepathy-glib/PKGBUILD
libre/linux-libre/PKGBUILD
multilib/lib32-libphobos-ldc/PKGBUILD
multilib/wine/PKGBUILD
testing/dbus-core/PKGBUILD
testing/dbus/PKGBUILD
testing/libusbx/PKGBUILD
testing/systemd/PKGBUILD
testing/xf86-video-intel/PKGBUILD
Diffstat (limited to 'community/pinot/PKGBUILD')
-rw-r--r-- | community/pinot/PKGBUILD | 36 |
1 files changed, 23 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: |