aboutsummaryrefslogtreecommitdiffstats
path: root/testing/evolution-data-server/APKBUILD
blob: 1d8d0794c03abae4ca9f303f338c82a6ae42850e (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=evolution-data-server
pkgver=3.16.1
pkgrel=0
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
}

md5sums="8efeaa1c8a8d7fc84dcbc9d622c92436  evolution-data-server-3.16.1.tar.xz
1f27af1c7111fb803264e7663a07fa36  iconv-10646.patch"
sha256sums="04eedf170708c97ca807951f47e6d6f554bee94c35bc279201a54f64b744eb51  evolution-data-server-3.16.1.tar.xz
613b6323500ff7f194b44e0eb52cf52ecd6da0b341e97b0d28cb572d66aa92cf  iconv-10646.patch"
sha512sums="2b2a22f578783545442054366c2de2e9dd1f741193a6a3b9fc7bd0fe87d064d8a888f3bc76f473c618b76dcec6b6a2b17c2baa1963f9388bf75dba67aac2b9b9  evolution-data-server-3.16.1.tar.xz
d27f89cd27e17cada8fde114a675de8e883e0e77a368ac10051e238d2962234797bfaedc20d5480fd3729099c677cb73e36f45e40e1707c0135ec0323d37da96  iconv-10646.patch"