aboutsummaryrefslogtreecommitdiffstats
path: root/testing/evolution-data-server/APKBUILD
blob: 67e1d882282835e83b866f914b193dfaef9e43a2 (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: 
# Maintainer: 
pkgname=evolution-data-server
pkgver=3.30.5
pkgrel=0
pkgdesc="data server for evolution"
url="https://projects.gnome.org/evolution"
arch="x86_64 x86 ppc64le aarch64 armhf armv7"
license="GPL"
options="suid !check"
depends_dev="libgdata-dev db-dev gcr-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
	cmake libical-dev libcanberra-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz"
builddir="${srcdir}/${pkgname}-${pkgver}"

prepare() {
	default_prepare
	mkdir -p "$builddir"/build
}

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 \
		..
	make
}

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

sha512sums="b841b23343745afdc59f42ee384911ae24be6b1518095d52099ce5b657def17e5b4e1fe1e61fc1e03e4856b0d26c6a1abac3d9ee5530da84c645d07c69b8d859  evolution-data-server-3.30.5.tar.xz"