summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilvio Fricke2018-07-20 09:20:10 +0200
committerSilvio Fricke2018-07-20 09:20:10 +0200
commit75e5fb00195a321aa62454bb3c74d8adcfac57ca (patch)
tree1d665c22389db24c3376f14db8a77f34f0835625
parentf2a31580ad6a19971c77b24911a546e682015069 (diff)
downloadaur-75e5fb00195a321aa62454bb3c74d8adcfac57ca.tar.gz
PKGBUILD: reformat and ninjaized
Signed-off-by: Silvio Fricke <silvio.fricke@softing.com>
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD54
-rw-r--r--evolution-data-server.install6
3 files changed, 47 insertions, 31 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1297b2ec9ac..594cd11881e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,25 +1,23 @@
pkgbase = evolution-data-server-git
pkgdesc = Centralized access to appointments and contacts
- pkgver = 3.17.2.r17.g3a99564
+ pkgver = 3.29.4.r008.gff1af187f
pkgrel = 1
url = https://wiki.gnome.org/Apps/Evolution
install = evolution-data-server.install
arch = i686
arch = x86_64
license = GPL
- makedepends = intltool
- makedepends = gperf
+ makedepends = gnome-common
makedepends = gobject-introspection
- makedepends = vala
+ makedepends = gperf
makedepends = gtk-doc
- makedepends = gnome-common
- depends = gnome-online-accounts
- depends = nss
- depends = krb5
+ makedepends = intltool
+ makedepends = vala
+ depends = libgdata
depends = libgweather
depends = libical
- depends = db
- depends = libgdata
+ depends = libphonenumber
+ depends = libsignon-glib
provides = evolution-data-server=3.17.3
conflicts = evolution-data-server
source = git://git.gnome.org/evolution-data-server
diff --git a/PKGBUILD b/PKGBUILD
index eecd71b9839..e56eeb57f4a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,26 @@
-# Maintainer: Yosef Or Boczko <yoseforb@gnome.org>
+# Maintainer: Silvio Fricke <silvio.fricke@gmail.com>
+# Contributor: Yosef Or Boczko <yoseforb@gnome.org>
_pkgname=evolution-data-server
pkgname=$_pkgname-git
-pkgver=3.17.2.r17.g3a99564
+pkgver=3.29.4.r008.gff1af187f
pkgrel=1
_realver=3.17.3
pkgdesc="Centralized access to appointments and contacts"
arch=(i686 x86_64)
-depends=(gnome-online-accounts nss krb5 libgweather libical db libgdata)
-makedepends=(intltool gperf gobject-introspection vala gtk-doc gnome-common)
+depends=(libgdata
+ libgweather
+ libical
+ libphonenumber
+ libsignon-glib
+ )
+makedepends=(gnome-common
+ gobject-introspection
+ gperf
+ gtk-doc
+ intltool
+ vala
+ )
install=$_pkgname.install
url="https://wiki.gnome.org/Apps/Evolution"
license=(GPL)
@@ -19,24 +31,30 @@ source=('git://git.gnome.org/evolution-data-server')
sha256sums=('SKIP')
pkgver() {
- cd "$srcdir/$_pkgname"
- git describe --always | sed -E 's/^EVOLUTION_DATA_SERVER_//;s/_/./g;s/([^-]*-g)/r\1/;s|-|.|g'
+ cd "$srcdir/$_pkgname"
+ git describe --long | awk -F '-' '/-/{ printf "%s.r%3.3d.%s\n", $1, $2, $3 }'
}
build() {
- cd "$srcdir/$_pkgname"
- ./autogen.sh --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --with-openldap=yes \
- --libexecdir=/usr/lib/evolution-data-server \
- --with-krb5=/usr --with-libdb=/usr \
- --enable-vala-bindings --disable-uoa \
- --enable-gtk-doc
+ cd "$srcdir/$_pkgname"
- 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
- make
+ [ ! -d build ] && mkdir build
+ cd build
+
+ cmake .. -G Ninja \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIBEXEC_INSTALL_DIR=/usr/lib \
+ -DSYSCONF_INSTALL_DIR=/etc \
+ -DENABLE_GTK_DOC=ON \
+ -DENABLE_INTROSPECTION=ON \
+ -DENABLE_UOA=OFF \
+ -DENABLE_VALA_BINDINGS=ON \
+ -DWITH_PHONENUMBER=ON \
+
+ ninja
}
package() {
- cd "$srcdir/$_pkgname"
- make DESTDIR="$pkgdir" install
-} \ No newline at end of file
+ cd "$srcdir/$_pkgname/build"
+ DESTDIR="$pkgdir" ninja install
+}
diff --git a/evolution-data-server.install b/evolution-data-server.install
index 2162aa1f268..369cb81c082 100644
--- a/evolution-data-server.install
+++ b/evolution-data-server.install
@@ -1,11 +1,11 @@
post_install () {
- glib-compile-schemas usr/share/glib-2.0/schemas
+ glib-compile-schemas usr/share/glib-2.0/schemas
}
post_upgrade () {
- post_install
+ post_install
}
post_remove () {
- post_install
+ post_install
}