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

Jan Steffens heftig at archlinux.org
Sun Sep 25 21:38:49 UTC 2016


    Date: Sunday, September 25, 2016 @ 21:38:49
  Author: heftig
Revision: 276957

3.22.0+5+g1df268b-1

Modified:
  evolution-data-server/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++------
 1 file changed, 24 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-25 19:42:10 UTC (rev 276956)
+++ PKGBUILD	2016-09-25 21:38:49 UTC (rev 276957)
@@ -2,19 +2,30 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=evolution-data-server
-pkgver=3.20.5
+pkgver=3.22.0+5+g1df268b
 pkgrel=1
 pkgdesc="Centralized access to appointments and contacts"
 url="https://wiki.gnome.org/Apps/Evolution"
 arch=(i686 x86_64)
 depends=(gnome-online-accounts nss krb5 libgweather libical db libgdata libphonenumber webkitgtk)
-makedepends=(intltool gperf gobject-introspection vala gtk-doc boost)
+makedepends=(intltool gperf gobject-introspection vala gtk-doc boost git gnome-common)
 license=(GPL)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('0d1586cd326d997497a2a6fddd939a83892be07cb20f8c88fda5013f8c5bbe7e')
+_commit=1df268bf3f33b0a8c2cf5bbb596f172266383371
+source=("git://git.gnome.org/evolution-data-server#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^EVOLUTION_DATA_SERVER_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd "$pkgname-$pkgver"
+  cd $pkgname
 
   ./configure --prefix=/usr --sysconfdir=/etc \
       --localstatedir=/var --with-openldap=yes \
@@ -28,7 +39,14 @@
   make
 }
 
+check() {
+  cd $pkgname
+  # libedata-book tests fail because they try to
+  # mkdir /usr/lib/evolution-data-server/camel-providers
+  make check -k || :
+}
+
 package() {
-  cd "$pkgname-$pkgver"
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list