aboutsummaryrefslogtreecommitdiffstats
path: root/testing/evolution/APKBUILD
blob: 2990780fff232b7db9cac43b095e4bd67db1e36d (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=evolution
pkgver=3.22.4
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"
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() {
	cd "$builddir"
	export ac_cv_libiconv_utf8=yes
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--disable-gnome-desktop \
		--disable-autoar \
		--disable-libcryptui \
		--disable-schemas-compile \
		--disable-pst-import \
		--with-openldap \
		--enable-nss=yes \
		--enable-smime=yes \
		|| return 1
	make || return 1
}

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

sha512sums="dd73a11d4d7903be6a99bf0d937f5a217a26f0dffb9dc0cea2ca81142d5783c42f889a8b913d565678e9f55b7f2f2a1d42f06c30e3cb004926c19f44dae3b70f  evolution-3.22.4.tar.xz"