blob: 6599f860fb1fea355d037e24156dbdb525c8c6c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=recoll
pkgver=1.23.2
pkgrel=1
pkgdesc="Desktop full-text search tool"
url="http://www.lesbonscomptes.com/recoll/"
arch="all"
license="GPL-2.0"
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"
|