aboutsummaryrefslogtreecommitdiffstats
path: root/testing/evolution/APKBUILD
blob: b23e06d607088b7c82bb23e52020def75004c3c2 (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: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=evolution
pkgver=3.24.1
pkgrel=0
pkgdesc="evolution mail client"
url="http://projects.gnome.org/evolution"
# limited by webkit2gtk
arch="x86 x86_64"
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"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${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_GNOME_DESKTOP=OFF \
		-DENABLE_AUTOAR=OFF \
		-DENABLE_LIBCRYPTUI=OFF \
		-DENABLE_YTNEF=OFF \
		-DENABLE_PST_IMPORT=OFF \
		-DENABLE_NSS=ON \
		-DENABLE_SMIME=ON \
		.. \
                || return 1
	make || return 1
}

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

sha512sums="ad88f2dedf529eec38461887d27544968e22d0a56d3f7fe4b547b1436c462c2175a556c6664c287dd3765e9b9499427acd846bee242a8a85b3049a9ba3b90bba  evolution-3.24.1.tar.xz"