1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Fabian Bornschein <fabiscafe-cat-mailbox-dog-org>
3 # Contributor: Jan de Groot <jgc@archlinux.org>
13 pkgdesc="Manage your email, contacts and schedule"
14 url="https://wiki.gnome.org/Apps/Evolution"
45 _commit=1645ae84c7a25892f3e4042101b9abf47ee903b5 # tags/3.48.1^0
46 source=("git+https://gitlab.gnome.org/GNOME/evolution.git#commit=$_commit")
51 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
60 -DCMAKE_INSTALL_PREFIX=/usr
61 -DLIBEXEC_INSTALL_DIR=/usr/lib
62 -DSYSCONF_INSTALL_DIR=/etc
68 cmake -S $pkgbase -B build -G Ninja "${cmake_options[@]}"
73 local p="$1" f d; shift
75 d="$srcdir/$p/${f#$pkgdir/}"
76 mkdir -p "$(dirname "$d")"
78 rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
86 libebook-contacts-1.2.so
89 libedataserverui-1.2.so
92 'evolution-bogofilter: Bogofilter spam check plugin'
93 'evolution-spamassassin: Spamassassin spam check plugin'
94 'highlight: text highlight plugin'
98 DESTDIR="$pkgdir" cmake --install build
101 for x in bogofilter spamassassin; do
102 _pick $x usr/lib/evolution/modules/module-$x.so
103 _pick $x usr/share/metainfo/org.gnome.Evolution-$x.metainfo.xml
108 package_evolution-bogofilter() {
109 pkgdesc="Spam filtering for Evolution, using Bogofilter"
115 mv bogofilter/* "$pkgdir"
118 package_evolution-spamassassin() {
119 pkgdesc="Spam filtering for Evolution, using SpamAssassin"
125 mv spamassassin/* "$pkgdir"
128 # vim:set sw=2 sts=-1 et: