aboutsummaryrefslogtreecommitdiffstats
path: root/testing/evolution/APKBUILD
blob: ceecaf5a9820f8574c3e7c1dfac669d33a1f6a6b (plain) (blame)
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:
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=evolution
pkgver=3.32.2
pkgrel=0
pkgdesc="evolution mail client"
url="https://projects.gnome.org/evolution"
# limited by webkit2gtk
arch="all !s390x"
license="GPL"
depends="highlight gsettings-desktop-schemas"
depends_dev="itstool libxml2-dev gcr-dev enchant-dev libcanberra-dev
	libgweather-dev openldap-dev libnotify-dev"
makedepends="$depends_dev gperf flex bison libxml2-utils glib-dev
	webkit2gtk-dev gtkspell3-dev evolution-data-server-dev
	gtk+3.0-dev nss-dev cmake gnu-libiconv-dev gsettings-desktop-schemas-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"

build() {
	mkdir -p "$builddir"/build
	cd "$builddir"/build
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=/usr/lib \
		-DCMAKE_BUILD_TYPE=Release \
		-DENABLE_GNOME_DESKTOP=OFF \
		-DENABLE_AUTOAR=OFF \
		-DENABLE_LIBCRYPTUI=OFF \
		-DENABLE_YTNEF=OFF \
		-DENABLE_PST_IMPORT=OFF \
		-DENABLE_NSS=ON \
		-DENABLE_SMIME=ON \
		..
	make
}

check() {
	cd "$builddir"/build
	make check
}

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

sha512sums="15bba6f032dc11ec7bb69c8e04319277e94212b54826b45d7ff1d83e316097a3ffb9f4f25c21f8c3e03b0c66dc5555b519f7f305e25e8b3bed926f8fac585dea  evolution-3.32.2.tar.xz"