aboutsummaryrefslogtreecommitdiffstats
path: root/testing/recoll
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-06-01 12:51:25 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-06-01 12:51:25 +0000
commit9a5385ddd27e749b56ce405e527332d74809c627 (patch)
tree9015f5e7d13f3e396f917771a485a6e9849a1e5b /testing/recoll
parentbd2a996a6f92ad73c99bcf9a10d5b6e0b2ef775d (diff)
downloadaports-9a5385ddd27e749b56ce405e527332d74809c627.tar.bz2
aports-9a5385ddd27e749b56ce405e527332d74809c627.tar.xz
testing/recoll: new aport
Full-text desktop search engine
Diffstat (limited to 'testing/recoll')
-rw-r--r--testing/recoll/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/recoll/APKBUILD b/testing/recoll/APKBUILD
new file mode 100644
index 0000000000..1fc6d692b1
--- /dev/null
+++ b/testing/recoll/APKBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=recoll
+pkgver=1.23.2
+pkgrel=0
+pkgdesc="Desktop full-text search tool"
+url="http://www.lesbonscomptes.com/recoll/"
+arch="all"
+license="GPL2"
+makedepends="file libx11-dev libxslt-dev qt-dev xapian-core-dev zlib-dev"
+subpackages="$pkgname-doc"
+source="http://www.lesbonscomptes.com/recoll/recoll-$pkgver.tar.gz
+ xattrs.patch
+ "
+builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ for file_ext in h cpp; do
+ sed -i 's/u_int64_t/uint64_t/g' utils/md5.$file_ext
+ sed -i 's/u_int32_t/uint32_t/g' utils/md5.$file_ext
+ sed -i 's/u_int8_t/uint8_t/g' utils/md5.$file_ext
+ done
+}
+
+build() {
+ cd "$builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --disable-python-module
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+sha512sums="0f3d6bae73da066e92e328f963129979f43a12a622120c26d66debde66e569e19e3e8b61154ee77386ad93e968d88262d3e22a679b618bcb8bf468fa16a46769 recoll-1.23.2.tar.gz
+510a68a386e3043ef4ecb032af376a9e085d2f9154f2657e37363b5a9fefa8e5eae113aad003eef247b7d58b62e64635ac52bf82f40c39f8f2cc1e08ee71e303 xattrs.patch"