aboutsummaryrefslogtreecommitdiffstats
path: root/testing/evolution-ews/APKBUILD
blob: 468d3a5e7f362832b231b7408b82558a1b836ffa (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=evolution-ews
_pkgname="EVOLUTION_EWS"
pkgver=3.24.1
pkgrel=0
pkgdesc="MS Exchange integration through Exchange Web Services"
url="https://wiki.gnome.org/Apps/Evolution/EWS"
arch="x86 x86_64"
license="LGPL2.1"
depends="evolution"
makedepends="cmake
	gtk-doc intltool glib-dev gettext-dev gnome-common
	evolution-data-server-dev evolution-dev libmspack-dev"
subpackages="$pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/GNOME/$pkgname/archive/${_pkgname}_${pkgver//./_}.tar.gz"
builddir="$srcdir/$pkgname-${_pkgname}_${pkgver//./_}"

build() {
	mkdir -p "$builddir"/build
	cd "$builddir"/build
	CFLAGS="$CFLAGS -I/usr/include/gnu-libiconv" \
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=Release \
		.. \
                || return 1
	make || return 1
}

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

sha512sums="7f25467e3a76346e323552a3b2dc9210d556e9cf702d81740d7b7ed8eb61552544eec8bb9fd7e926dc9323f0d93a81f1d95c35b5edf867ba58256e1973226ef0  evolution-ews-3.24.1.tar.gz"