[arch-commits] Commit in evolution-ews/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Jun 19 13:23:38 UTC 2018


    Date: Tuesday, June 19, 2018 @ 13:23:38
  Author: heftig
Revision: 327284

3.28.3-1

Modified:
  evolution-ews/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-19 13:21:41 UTC (rev 327283)
+++ PKGBUILD	2018-06-19 13:23:38 UTC (rev 327284)
@@ -2,7 +2,7 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=evolution-ews
-pkgver=3.28.2
+pkgver=3.28.3
 pkgrel=1
 pkgdesc="MS Exchange integration through Exchange Web Services"
 url="https://wiki.gnome.org/Apps/Evolution/EWS"
@@ -11,8 +11,8 @@
 depends=(libmspack evolution)
 makedepends=(git cmake ninja intltool python)
 options=(!emptydirs)
-_commit=b2e4d6dbd07a8c63b30c3b5e94521beb5fc5dc1e  # tags/3.28.2^0
-source=("git+https://git.gnome.org/browse/evolution-ews#commit=$_commit")
+_commit=5c21df96e9efa4164d99772111013813daa2c20f  # tags/3.28.3^0
+source=("git+https://gitlab.gnome.org/GNOME/evolution-ews.git#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
@@ -20,15 +20,20 @@
   git describe --tags | sed 's/^EVOLUTION_EWS_//;s/_/./g;s/-/+/g'
 }
 
+prepare() {
+  mkdir build
+  cd $pkgname
+}
+
 build() {
-  cd $pkgname
-  cmake . -G Ninja \
+  cd build
+  cmake ../$pkgname -G Ninja \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DLIBEXEC_INSTALL_DIR=/usr/lib/evolution \
     -DSYSCONF_INSTALL_DIR=/etc
-  ninja
+  cmake --build .
 }
 
 package() {
-  DESTDIR="$pkgdir" ninja -C $pkgname install
+  DESTDIR="$pkgdir" cmake --build build --target install
 }



More information about the arch-commits mailing list