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

Jan Steffens heftig at archlinux.org
Tue Sep 27 20:47:46 UTC 2016


    Date: Tuesday, September 27, 2016 @ 20:47:46
  Author: heftig
Revision: 277175

3.22.0+3+g226fa98-1

Modified:
  evolution-ews/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-27 20:41:43 UTC (rev 277174)
+++ PKGBUILD	2016-09-27 20:47:46 UTC (rev 277175)
@@ -1,8 +1,8 @@
 # $Id$
-# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=evolution-ews
-pkgver=3.20.5
+pkgver=3.22.0+3+g226fa98
 pkgrel=1
 pkgdesc="MS Exchange integration through Exchange Web Services"
 url="https://wiki.gnome.org/Apps/Evolution/EWS"
@@ -9,13 +9,24 @@
 arch=(i686 x86_64)
 license=(LGPL2.1)
 depends=(libmspack evolution)
-makedepends=(intltool)
+makedepends=(intltool gnome-common git)
 options=(!emptydirs)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('dec65397f7c7e5ac591335e3b5c0fe5f8e8ff7c624d6555d08edf74933d7e424')
+_commit=226fa98f9caef3b5cda1a0f3cd57449ee6019480  # gnome-3-22
+source=("git://git.gnome.org/evolution-ews#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^EVOLUTION_EWS_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
       --libexecdir=/usr/lib/evolution --disable-static
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
@@ -23,6 +34,6 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list