aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/strigi/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/strigi/APKBUILD')
-rw-r--r--unmaintained/strigi/APKBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/unmaintained/strigi/APKBUILD b/unmaintained/strigi/APKBUILD
new file mode 100644
index 0000000000..2b6f18e0f0
--- /dev/null
+++ b/unmaintained/strigi/APKBUILD
@@ -0,0 +1,51 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=strigi
+pkgver=0.7.8
+pkgrel=2
+pkgdesc="KDE desktop search software"
+url="http://www.vandenoever.info/software/strigi/"
+arch="all"
+license="LGPL"
+depends=
+depends_dev="qt-dev exiv2-dev bzip2-dev zlib-dev libxml2-dev attr-dev"
+makedepends="$depends_dev cmake automoc4"
+install=""
+subpackages="$pkgname-dev"
+source="http://www.vandenoever.info/software/strigi/strigi-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/strigi-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+ mkdir -p "$_builddir"/build
+}
+
+build() {
+ cd "$_builddir"/build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DENABLE_CLUCENE=OFF \
+ -DENABLE_CLUCENE_NG=OFF \
+ -DENABLE_FFMPEG=OFF \
+ -DENABLE_LOG4CXX=OFF \
+ -DENABLE_FAM=OFF \
+ -DENABLE_QT4=ON \
+ "$_builddir" || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"/build
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="d69443234f4286d71997db9de543331a strigi-0.7.8.tar.bz2"
+sha256sums="43e461a625acdefa59bf58cc9d10aebda9eba920dfbe800fc77e6dcbf1eff989 strigi-0.7.8.tar.bz2"
+sha512sums="536f5bd5ed13d87d30c2fa31b6dcb2a883df173e5d60deefe0fdeb843f40f29f7edd0041029dc013bb31a205572087ed95ca661bcdf6d989d9806931716b1043 strigi-0.7.8.tar.bz2"