aboutsummaryrefslogtreecommitdiffstats
path: root/testing/evolution/APKBUILD
blob: 4217d01490065deb329a4e6e39d710404987ce02 (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
49
50
51
52
53
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=evolution
pkgver=3.18.4
pkgrel=1
pkgdesc="evolution mail client"
url="http://projects.gnome.org/evolution"
arch="all"
license="GPL"
depends="gnome-icon-theme gsettings-desktop-schemas highlight"
depends_dev="gtk+3.0-dev glib-dev itstool libxml2-dev libxml2-utils
	webkitgtk-dev gcr-dev evolution-data-server-dev enchant-dev
	libcanberra-dev gtkspell-dev libgweather-dev openldap-dev
	libnotify-dev"
makedepends="$depends_dev gperf flex bison"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"

_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	ac_cv_libiconv_utf8=yes\
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--disable-pst-import \
		--disable-gnome-desktop \
		--disable-autoar \
		--disable-libcryptui \
		--disable-gtkspell \
		--with-openldap \
		|| return 1
	make || return 1
}

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

md5sums="9262300694650517046b48fb2ae98d30  evolution-3.18.4.tar.xz"
sha256sums="8161a0ebc77e61904dfaca9745595fefbf84d834a07ee1132d1f8d030dabfefb  evolution-3.18.4.tar.xz"
sha512sums="ddb7922cedd490808c21a21d6a2e23f7399f1569bea69d5e0434f27b0f5b75b898ff68f17883bfd75eddb2ec9059628406e1b1f7811e1962a6da2dff4777ade2  evolution-3.18.4.tar.xz"