Date: Monday, May 1, 2023 @ 19:13:48
Author: heftig
Revision: 476184
archrelease: copy trunk to gnome-unstable-x86_64
Added:
evolution-ews/repos/gnome-unstable-x86_64/
evolution-ews/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 476183, evolution-ews/trunk/PKGBUILD)
----------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
Copied: evolution-ews/repos/gnome-unstable-x86_64/PKGBUILD (from rev 476183,
evolution-ews/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2023-05-01 19:13:48 UTC (rev 476184)
@@ -0,0 +1,51 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Ionut Biru <[email protected]>
+
+pkgname=evolution-ews
+pkgver=3.48.1
+pkgrel=1
+pkgdesc="MS Exchange integration through Exchange Web Services"
+url="https://wiki.gnome.org/Apps/Evolution/EWS"
+arch=(x86_64)
+license=(LGPL2.1)
+depends=(
+ evolution
+ libmspack
+)
+makedepends=(
+ cmake
+ git
+ intltool
+ ninja
+ python
+ systemd
+)
+_commit=4468f359068cbef208657a715f0e1a8814a245e8 # tags/3.48.1^0
+source=("git+https://gitlab.gnome.org/GNOME/evolution-ews.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ local cmake_options=(
+ -DCMAKE_INSTALL_PREFIX=/usr
+ -DLIBEXEC_INSTALL_DIR=/usr/lib
+ -DSYSCONF_INSTALL_DIR=/etc
+ )
+
+ cmake -S $pkgname -B build -G Ninja "${cmake_options[@]}"
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
+
+# vim:set sw=2 sts=-1 et: