aboutsummaryrefslogtreecommitdiffstats
path: root/testing/evolution-data-server/APKBUILD
blob: 09f76dee10c73e4f7cb68af12917d6de1e7a46ff (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=evolution-data-server
pkgver=3.24.1
pkgrel=0
pkgdesc="data server for evolution"
url="http://projects.gnome.org/evolution"
arch="all"
license="GPL"
depends=
options="suid"
depends_dev="libgdata-dev db-dev gcr-dev libical-dev icu-dev"
makedepends="$depends_dev gperf flex bison glib-dev gtk+3.0-dev libsecret-dev
	libsoup-dev libxml2-dev nss-dev sqlite-dev krb5-dev gnu-libiconv-dev
	openldap-dev libgdata-dev json-glib-dev webkit2gtk-dev libgweather-dev"
install=""
subpackages="$pkgname-dev $pkgname-lang"
source="http://download.gnome.org/sources/evolution-data-server/${pkgver%.*}/evolution-data-server-${pkgver}.tar.xz
	"

builddir="${srcdir}/${pkgname}-${pkgver}"

build() {
	mkdir -p "$builddir"/build
	cd "$builddir"/build
	CFLAGS="$CFLAGS -I/usr/include/gnu-libiconv" \
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=/usr/lib \
		-DCMAKE_BUILD_TYPE=Release \
		-DENABLE_GOA=OFF \
		-DENABLE_UOA=OFF \
		.. \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"/build
	make DESTDIR="$pkgdir" install || return 1
}

sha512sums="87162639b37f1b343e9917a2ffb6ee6f54bbe92ed54974f83318070b24c590aa840f989195c00b0289f322ab1925a7b6ac07b303227adab14d3fb74ff96d86ac  evolution-data-server-3.24.1.tar.xz"