#Maintainer: Christopher Rey P. Baluyut pkgname=strigi pkgver=0.7.1 pkgrel=2 zenver=64 arch=i486 source=("http://www.vandenoever.info/software/$pkgname/$pkgname-$pkgver.tar.bz2") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/shingoku/$pkgname/source docs=('AUTHORS' 'COPYING' 'ChangeLog' 'NEWS' 'README' 'TODO') url="http://strigi.sourceforge.net/" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "strigi (fast and light desktop search engine)" "Strigi is a fast and light desktop search engine. It can handle a" "large range of file formats such as emails, office documents, media" "files, and file archives. It can index files that are embedded in" "other files. This means email attachments and files in zip files" "are searchable as if they were normal files on your harddisk." ) build() { cd $startdir/src/$pkgname-$pkgver mkdir -p build cd build QTDIR=/usr/lib/qt \ PATH=$QTDIR/bin:$PATH \ cmake \ -DENABLE_INOTIFY:BOOL=ON \ -DENABLE_DBUS:BOOL=ON \ -DENABLE_EXPAT:BOOL=ON \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_FLAGS:STRING="-O2 -march=i486 -mtune=i686" \ -DCMAKE_CXX_FLAGS:STRING="-O2 -march=i486 -mtune=i686" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX="" \ .. make -j2 || make || exit 1 make install DESTDIR=$startdir/pkg || exit 1 }