aboutsummaryrefslogtreecommitdiffstats
path: root/testing/evolution/APKBUILD
blob: b8141d8d3358ae36142a9e5659d61d87ba6364dc (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
49
# Contributor: 
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=evolution
pkgver=3.32.0
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 glib-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"
builddir="${srcdir}/${pkgname}-${pkgver}"

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="a93931fea87a4f1cbfc5303424017491c6c6237d77c5fc31e9295424c063c84bffca4bb353b113ff982f979bb8c261e095fd282205f4afdcc7135248ec4d7cdc  evolution-3.32.0.tar.xz"