blob: 05f671dd615dff3fe1259b25ef1b67377e679f4c (
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: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=evolution
pkgver=3.36.1
pkgrel=0
pkgdesc="evolution mail client"
url="https://projects.gnome.org/evolution"
arch="all !s390x" # Limited by gnome-autoar
license="GPL-2.0-or-later"
depends="highlight gsettings-desktop-schemas"
depends_dev="itstool libxml2-dev gcr-dev enchant2-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 gnome-autoar-dev
gtk+3.0-dev nss-dev cmake gsettings-desktop-schemas-dev
gspell-dev gnome-desktop-dev glade-dev"
options="!check" # need to be installed
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/evolution/${pkgver%.*}/evolution-$pkgver.tar.xz"
build() {
mkdir -p "$builddir"/build
cd "$builddir"/build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONF_INSTALL_DIR=/etc \
-DCMAKE_BUILD_TYPE=None \
-DENABLE_GNOME_DESKTOP=ON \
-DENABLE_AUTOAR=ON \
-DENABLE_YTNEF=OFF \
-DENABLE_PST_IMPORT=OFF \
-DENABLE_SMIME=ON \
-DENABLE_SCHEMAS_COMPILE=OFF \
-DWITH_GLADE_CATALOG=ON \
..
make
}
check() {
make -C build check
}
package() {
make -C build DESTDIR="$pkgdir" install
}
dev() {
default_dev
mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/usr/share
mv "$pkgdir"/usr/lib/glade/modules "$subpkgdir"/usr/lib/
mv "$pkgdir"/usr/share/glade/catalogs "$subpkgdir"/usr/share/
}
sha512sums="626e80494553dd2e9670d09453694a3d406924a961a4842720f5fdffbad7250922a3c0ccc5e1f477e6249767b2387e41c6b59db88948e4c74a1c6bb241354c3e evolution-3.36.1.tar.xz"
|