blob: 663eeb6d0f633bd5ac5d677628ad8ac5f1e83a9e (
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
48
|
# Contributor: k0r10n <k0r10n.dev@gmail.com>
# Maintainer:
pkgname=baloo
pkgver=4.13.3
pkgrel=0
pkgdesc="A framework for searching and managing metadata"
url="https://projects.kde.org/projects/kde/kdelibs/baloo"
arch="all"
license="LGPL"
depends=
depends_dev="kdepimlibs-dev kfilemetadata-dev xapian-core-dev"
makedepends="$depends_dev automoc4 cmake"
install=""
subpackages="$pkgname-dev $pkgname-libs"
source="ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz
no-malloc-xapiandatabase-4.13.3.patch"
_builddir="$srcdir"/${pkgname}-${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_BUILD_TYPE=Release \
-Wno-dev "$_builddir" || return 1
make || return 1
}
package() {
cd "$_builddir"/build
make DESTDIR="$pkgdir" install || return 1
}
md5sums="00d818ad48d4ef618e86f5094ebebaa8 baloo-4.13.3.tar.xz
33b597cf676a4730e579260f1dfcb0f7 no-malloc-xapiandatabase-4.13.3.patch"
sha256sums="c7467bf518dc23e319b581dbc1dff84cd8d0b03516a1d25bde0aa0cd7bbad043 baloo-4.13.3.tar.xz
5e7880fb65378baeac351d5b612b89d300ec5b7345a99e71accd8f42da9e3189 no-malloc-xapiandatabase-4.13.3.patch"
sha512sums="4f476ca4b1462b89c0f12da297cf629cf23bcd6aceb2c1d83caf45e89a55fb20d6effcbc4ed4c9b08c24877f899beb7aa462b2f15e0bb5aba719e613f768862d baloo-4.13.3.tar.xz
d077528340ebdccfeb2b0978b75fb879fbb44024937b0ff8d6d18db58a85a904335cdcda2bf1e0ae403f6c93dd241e64b52789e1808cb284baf8ed55c363b26d no-malloc-xapiandatabase-4.13.3.patch"
|