summaryrefslogtreecommitdiff
path: root/extra/strigi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/strigi/PKGBUILD')
-rw-r--r--extra/strigi/PKGBUILD29
1 files changed, 19 insertions, 10 deletions
diff --git a/extra/strigi/PKGBUILD b/extra/strigi/PKGBUILD
index ede7489cd..44eb094e2 100644
--- a/extra/strigi/PKGBUILD
+++ b/extra/strigi/PKGBUILD
@@ -1,24 +1,29 @@
-# $Id: PKGBUILD 144965 2011-12-12 09:11:00Z andrea $
+# $Id: PKGBUILD 164838 2012-08-06 23:07:43Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=strigi
pkgver=0.7.7
-pkgrel=1
+pkgrel=2
pkgdesc="Fast crawling desktop search engine with Qt4 GUI"
arch=('i686' 'x86_64')
-url="http://www.vandenoever.info/software/strigi/"
+url='http://strigi.sourceforge.net/'
license=('GPL2')
depends=('exiv2' 'libxml2' 'boost-libs')
makedepends=('qt' 'cmake' 'pkg-config' 'boost')
optdepends=('kdegraphics-strigi-analyzer: strigi analyzers for various graphics file'
'kdesdk-strigi-analyzer: strigi analyzer for KDE SDK')
#source=("http://www.vandenoever.info/software/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('ca0a0fd5c2b99879f6330837aeede996')
+source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'gcc47.patch')
+md5sums=('ca0a0fd5c2b99879f6330837aeede996'
+ '1acb9b31a4859dc427fc4d387fd8aa2f')
build() {
- cd "${srcdir}"
+ pushd ${pkgname}-${pkgver}/strigidaemon
+ patch -p1 -i "${srcdir}"/gcc47.patch
+ popd
+
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
@@ -34,15 +39,19 @@ build() {
}
package() {
- cd "${srcdir}/build/libstreams"
+ pushd build/libstreams
make DESTDIR="${pkgdir}" install
+ popd
- cd "${srcdir}/build/libstreamanalyzer"
+ pushd build/libstreamanalyzer
make DESTDIR="${pkgdir}" install
+ popd
- cd "${srcdir}/build/strigiclient/lib/searchclient/qtdbus"
+ pushd build/strigiclient/lib/searchclient/qtdbus
make DESTDIR="${pkgdir}" install
+ popd
- cd "${srcdir}/build/strigiutils"
+ pushd build/strigiutils
make DESTDIR="${pkgdir}" install
+ popd
}