summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYosef Or Boczko2015-06-09 12:07:04 +0300
committerYosef Or Boczko2015-06-09 12:07:04 +0300
commitf2a31580ad6a19971c77b24911a546e682015069 (patch)
tree7f719bffcbdd02e6b58663ebc70c9603974e5454
downloadaur-f2a31580ad6a19971c77b24911a546e682015069.tar.gz
Initial import
-rw-r--r--.SRCINFO29
-rw-r--r--PKGBUILD42
-rw-r--r--evolution-data-server.install11
3 files changed, 82 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1297b2ec9ac
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,29 @@
+pkgbase = evolution-data-server-git
+ pkgdesc = Centralized access to appointments and contacts
+ pkgver = 3.17.2.r17.g3a99564
+ 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 = gobject-introspection
+ makedepends = vala
+ makedepends = gtk-doc
+ makedepends = gnome-common
+ depends = gnome-online-accounts
+ depends = nss
+ depends = krb5
+ depends = libgweather
+ depends = libical
+ depends = db
+ depends = libgdata
+ provides = evolution-data-server=3.17.3
+ conflicts = evolution-data-server
+ source = git://git.gnome.org/evolution-data-server
+ sha256sums = SKIP
+
+pkgname = evolution-data-server-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..eecd71b9839
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Yosef Or Boczko <yoseforb@gnome.org>
+
+_pkgname=evolution-data-server
+pkgname=$_pkgname-git
+pkgver=3.17.2.r17.g3a99564
+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)
+install=$_pkgname.install
+url="https://wiki.gnome.org/Apps/Evolution"
+license=(GPL)
+provides=("${_pkgname}=${_realver}")
+conflicts=("${_pkgname}")
+replace=("${_pkgname}")
+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'
+}
+
+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
+
+ 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
+}
+
+package() {
+ cd "$srcdir/$_pkgname"
+ make DESTDIR="$pkgdir" install
+} \ No newline at end of file
diff --git a/evolution-data-server.install b/evolution-data-server.install
new file mode 100644
index 00000000000..2162aa1f268
--- /dev/null
+++ b/evolution-data-server.install
@@ -0,0 +1,11 @@
+post_install () {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade () {
+ post_install
+}
+
+post_remove () {
+ post_install
+}