summaryrefslogtreecommitdiff
path: root/social/seeks/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-12-18 12:10:42 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-12-18 12:10:42 -0300
commit2882e85db0e82645f4c7851bf52a06d9e190f4db (patch)
treeebe79bb1333f92946e7474b4d797f31ff6b04a8c /social/seeks/PKGBUILD
parent452fb86a5d288522a30d2be6b078171e863c34b2 (diff)
downloadabslibre-2882e85db0e82645f4c7851bf52a06d9e190f4db.tar.gz
abslibre-2882e85db0e82645f4c7851bf52a06d9e190f4db.tar.bz2
abslibre-2882e85db0e82645f4c7851bf52a06d9e190f4db.zip
social/seeks-0.4.0-1
Plus Tokyo* dependencies
Diffstat (limited to 'social/seeks/PKGBUILD')
-rw-r--r--social/seeks/PKGBUILD67
1 files changed, 67 insertions, 0 deletions
diff --git a/social/seeks/PKGBUILD b/social/seeks/PKGBUILD
new file mode 100644
index 000000000..2997e1be6
--- /dev/null
+++ b/social/seeks/PKGBUILD
@@ -0,0 +1,67 @@
+# Co-maintainer: Gitus < git at shroomrider dot com >
+# Co-maintainer: Enjolras < 0enjolras0 at laposte dot net >
+
+pkgname=seeks
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="An open decentralized platform for collaborative search content"
+arch=('i686' 'x86_64')
+url="http://www.seeks-project.info"
+license=('AGPL3')
+backup=('etc/logrotate.d/seeks'
+ 'etc/conf.d/seeks'
+ 'etc/seeks/config')
+depends=('curl' 'libevent' 'protobuf' 'tokyotyrant' 'opencv' 'icu')
+makedepends=('docbook2x' 'pkg-config' )
+source=("http://downloads.sourceforge.net/project/seeks/hippy/seeks-0.4.0.tar.gz"
+ 'seeks'
+ 'seeks.conf.d'
+ 'seeks.logrotate'
+ 'logfile.patch')
+install='install'
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ autoreconf -ivs
+ sed -i s/docbook2x-man/docbook2man/ ./configure
+ ./configure LDFLAGS="-Wl,--no-as-needed" \
+ --prefix=/usr --sysconfdir=/etc \
+ --enable-opencv --enable-httpserv-plugin --enable-image-websearch-plugin=yes \
+ --enable-xslserializer-plugin --enable-personalization --enable-keepalive --enable-extended-host-patterns
+
+ sed -i s/cxflann.h/cv.h/ src/plugins/img_websearch/ocvsurf.cpp
+ sed -i s/,--as-needed,/,/ config.status
+
+ make
+
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/src/"
+
+ #Changing logdir and logfile options
+ #disable plugins cf and query-capture in config
+ patch -p0 < "$srcdir/logfile.patch"
+
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ install -D -m644 Licenses "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -m644 AGPL-3.txt "${pkgdir}/usr/share/licenses/${pkgname}/"
+ install -m644 BSD-yui.txt "${pkgdir}/usr/share/licenses/${pkgname}/"
+ install -D -m755 ../seeks "${pkgdir}"/etc/rc.d/seeks
+ install -D -m644 ../seeks.conf.d "${pkgdir}"/etc/conf.d/seeks
+ install -D -m600 ../seeks.logrotate "${pkgdir}"/etc/logrotate.d/seeks
+}
+md5sums=('dd80c832f80c34c392be5872239a8d9f'
+ '33e6da05cca492019e6aff39684aed26'
+ '52e7e06a28974547041012a1cf3207f3'
+ 'd1aba6739972239c6cd09178807e196f'
+ 'e352306f5396a1af4dfc81a18bfc5a71')
+md5sums=('a2d0b6e7b91036883c0b327ead5e93c0'
+ '33e6da05cca492019e6aff39684aed26'
+ '52e7e06a28974547041012a1cf3207f3'
+ 'd1aba6739972239c6cd09178807e196f'
+ 'e352306f5396a1af4dfc81a18bfc5a71')