aboutsummaryrefslogtreecommitdiffstats
path: root/testing/evolution-data-server/APKBUILD
blob: 4ad7904a51ae64fdc5400bf0d2a12d0342fb897f (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
50
51
52
53
54
55
56
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=evolution-data-server
pkgver=3.12.2
pkgrel=1
pkgdesc="data server for evolution"
url="http://projects.gnome.org/evolution"
arch="all"
license="GPL"
depends=
depends_dev="gtk+3.0-dev glib-dev libsoup-dev libxml2-dev libgdata-dev db-dev
	gcr-dev libsecret-dev libical-dev nss-dev sqlite-dev icu-dev"
makedepends="$depends_dev gperf flex bison"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://download.gnome.org/sources/evolution-data-server/${pkgver%.*}/evolution-data-server-${pkgver}.tar.xz
	iconv-10646.patch
	"

_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"
	DATADIRNAME=share \
	ac_cv_libiconv_utf8=yes \
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--disable-goa \
		--disable-uoa \
		--disable-weather \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" -name '*.la' -delete
}

md5sums="9fc8fcbed3d38742c907cccad7a5799a  evolution-data-server-3.12.2.tar.xz
1f27af1c7111fb803264e7663a07fa36  iconv-10646.patch"
sha256sums="91c95e17a8c1cd1086dafcd99a40bdf8f5993770f251f8b0a10e5395e3f5a3b6  evolution-data-server-3.12.2.tar.xz
613b6323500ff7f194b44e0eb52cf52ecd6da0b341e97b0d28cb572d66aa92cf  iconv-10646.patch"
sha512sums="81e651fbc6f893426c341e48e25ee5ff55821e7a27b391324cc6a1596a5e45e2b75aba21e59cc6f0bb9713d42be628d64e4405a1dbe477ba22a6262ca0ec3a8f  evolution-data-server-3.12.2.tar.xz
d27f89cd27e17cada8fde114a675de8e883e0e77a368ac10051e238d2962234797bfaedc20d5480fd3729099c677cb73e36f45e40e1707c0135ec0323d37da96  iconv-10646.patch"