summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilvio Fricke2018-07-20 08:45:19 +0200
committerSilvio Fricke2018-07-20 08:58:01 +0200
commite4296b5666d2f9d1c316f5b0aba2b634e816d9c7 (patch)
tree3a66a3d387d092d0b1c376838dd8f7b204e1ca72
parent1b6d195323f73b2ed04e17f3dd6fe571c6a9b1a4 (diff)
downloadaur-e4296b5666d2f9d1c316f5b0aba2b634e816d9c7.tar.gz
PKGBUILD: reformat and ninjaized
Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
-rw-r--r--.SRCINFO53
-rw-r--r--PKGBUILD84
-rw-r--r--evolution.install16
3 files changed, 93 insertions, 60 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 936b9ee9962..5576ff4dc36 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,53 +1,56 @@
-# Generated by makepkg 4.2.1
-# Mon Jun 8 17:15:06 UTC 2015
pkgbase = evolution-git
- pkgdesc = Manage your email, contacts and schedule
- pkgver = 3.17.2.r27.g77897bc
+ pkgdesc = Manage your email, contacts and schedule - git version
+ pkgver = 3.29.4.r014.gf790ee8717
pkgrel = 1
url = https://wiki.gnome.org/Apps/Evolution
install = evolution.install
arch = i686
arch = x86_64
license = GPL
- makedepends = intltool
- makedepends = itstool
+ makedepends = dconf
+ makedepends = desktop-file-utils
makedepends = docbook-xsl
- makedepends = networkmanager
- makedepends = highlight
- makedepends = gnome-desktop
makedepends = evolution-data-server
+ makedepends = gnome-desktop
+ makedepends = gtkspell3
+ makedepends = hicolor-icon-theme
+ makedepends = highlight
+ makedepends = intltool
+ makedepends = itstool
makedepends = libcanberra
+ makedepends = libcryptui
makedepends = libpst
makedepends = libytnef
- makedepends = desktop-file-utils
- makedepends = hicolor-icon-theme
- makedepends = dconf
- makedepends = gtkspell3
- makedepends = webkitgtk
- makedepends = libcryptui
- depends = gnome-desktop
+ makedepends = networkmanager
+ depends = dconf
+ depends = desktop-file-utils
depends = evolution-data-server
+ depends = gnome-autoar
+ depends = gnome-common
+ depends = gnome-desktop
+ depends = gtk-doc
+ depends = gtkspell3
+ depends = hicolor-icon-theme
depends = libcanberra
+ depends = libchamplain
+ depends = libcryptui
depends = libpst
depends = libytnef
- depends = desktop-file-utils
- depends = hicolor-icon-theme
- depends = dconf
- depends = gtkspell3
- depends = libcryptui
- depends = webkitgtk
- depends = gtk-doc
- depends = gnome-common
optdepends = highlight: text highlight plugin
optdepends = evolution-spamassassin: Spamassassin spam check plugin
optdepends = evolution-bogofilter: Bogofilter spam check plugin
provides = evolution
+ provides = evolution-bogofilter
+ provides = evolution-spamassassin
conflicts = evolution
+ conflicts = evolution-bogofilter
+ conflicts = evolution-spamassassin
replaces = evolution
+ replaces = evolution-bogofilter
+ replaces = evolution-spamassassin
options = !emptydirs
source = git://git.gnome.org/evolution
sha256sums = SKIP
pkgname = evolution-git
- groups = gnome-extra
diff --git a/PKGBUILD b/PKGBUILD
index c4de15f61a4..4a34a4ea5a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,49 +2,79 @@
_pkgname=evolution
pkgname=$_pkgname-git
-pkgver=3.17.2.r27.g77897bc
+pkgver=3.29.4.r014.gf790ee8717
pkgrel=1
-pkgdesc="Manage your email, contacts and schedule"
+pkgdesc="Manage your email, contacts and schedule - git version"
arch=(i686 x86_64)
license=(GPL)
-depends=(gnome-desktop evolution-data-server libcanberra libpst libytnef desktop-file-utils hicolor-icon-theme dconf gtkspell3 libcryptui webkitgtk gtk-doc gnome-common)
-makedepends=(intltool itstool docbook-xsl networkmanager highlight gnome-desktop evolution-data-server libcanberra libpst libytnef desktop-file-utils hicolor-icon-theme dconf gtkspell3 webkitgtk libcryptui)
+depends=(dconf
+ desktop-file-utils
+ evolution-data-server
+ gnome-autoar
+ gnome-common
+ gnome-desktop
+ gtk-doc
+ gtkspell3
+ hicolor-icon-theme
+ libcanberra
+ libchamplain
+ libcryptui
+ libpst
+ libytnef
+ )
+makedepends=(dconf
+ desktop-file-utils
+ docbook-xsl
+ evolution-data-server
+ gnome-desktop
+ gtkspell3
+ hicolor-icon-theme
+ highlight
+ intltool
+ itstool
+ libcanberra
+ libcryptui
+ libpst
+ libytnef
+ networkmanager
+ )
optdepends=('highlight: text highlight plugin'
'evolution-spamassassin: Spamassassin spam check plugin'
'evolution-bogofilter: Bogofilter spam check plugin')
options=('!emptydirs')
url="https://wiki.gnome.org/Apps/Evolution"
-conflicts=('evolution')
-replaces=('evolution')
-provides=('evolution')
+conflicts=('evolution' 'evolution-bogofilter' 'evolution-spamassassin')
+replaces=('evolution' 'evolution-bogofilter' 'evolution-spamassassin')
+provides=('evolution' 'evolution-bogofilter' 'evolution-spamassassin')
install=$_pkgname.install
source=(git://git.gnome.org/evolution)
sha256sums=('SKIP')
-build() {
- cd $srcdir/$_pkgname
-
- ./autogen.sh --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var \
- --libexecdir=/usr/lib \
- --enable-nss=yes \
- --with-openldap=yes \
- --enable-smime=yes \
- --disable-schemas-compile \
- --disable-autoar
-
- 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
+pkgver() {
+ cd $srcdir/$_pkgname
+ git describe --long | awk -F '-' '/-/{ printf "%s.r%3.3d.%s\n", $1, $2, $3 }'
}
-pkgver() {
+build() {
cd $srcdir/$_pkgname
- git describe --long | sed 's/^EVOLUTION_//;s/\([^-]*-g\)/r\1/;s/-/./g;s/_/./g'
+
+ [ ! -d build ] && mkdir build
+ cd build
+
+ cmake .. -G Ninja \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIBEXEC_INSTALL_DIR=/usr/lib \
+ -DSYSCONF_INSTALL_DIR=/etc \
+ -DENABLE_CONTACT_MAPS=ON \
+ -DENABLE_GTK_DOC=ON \
+ -DENABLE_PLUGINS=all \
+ -DENABLE_SMIME=ON \
+
+ ninja
}
package() {
- groups=('gnome-extra')
- cd $srcdir/$_pkgname
- make DESTDIR="$pkgdir" install
+ cd $srcdir/$_pkgname/build
+ DESTDIR="$pkgdir" ninja install
}
+
diff --git a/evolution.install b/evolution.install
index 67eca41f097..2922cf23db0 100644
--- a/evolution.install
+++ b/evolution.install
@@ -1,19 +1,19 @@
post_install() {
- glib-compile-schemas /usr/share/glib-2.0/schemas
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
}
pre_upgrade() {
- if [ -f /usr/share/gconf/schemas/evolution.schemas ]; then
- gconfpkg --uninstall evolution
- fi
+ if [ -f /usr/share/gconf/schemas/evolution.schemas ]; then
+ gconfpkg --uninstall evolution
+ fi
}
post_upgrade() {
- post_install
+ post_install
}
post_remove() {
- post_install
+ post_install
}