aboutsummaryrefslogtreecommitdiffstats
path: root/testing/evolution/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-01-22 09:08:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-01-22 09:10:05 +0000
commit049bd53e62ad74d63833a3abe70767a141b0939a (patch)
tree91c6e310986e5f62af67f06380c7a593d462f8d7 /testing/evolution/APKBUILD
parentf25a3327c92affa07e8fa6b628e82a56d535b490 (diff)
downloadaports-049bd53e62ad74d63833a3abe70767a141b0939a.tar.bz2
aports-049bd53e62ad74d63833a3abe70767a141b0939a.tar.xz
testing/evolution: resurrect from unmaintained
Diffstat (limited to 'testing/evolution/APKBUILD')
-rw-r--r--testing/evolution/APKBUILD53
1 files changed, 53 insertions, 0 deletions
diff --git a/testing/evolution/APKBUILD b/testing/evolution/APKBUILD
new file mode 100644
index 0000000000..bf16711654
--- /dev/null
+++ b/testing/evolution/APKBUILD
@@ -0,0 +1,53 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=evolution
+pkgver=3.18.4
+pkgrel=0
+pkgdesc="evolution mail client"
+url="http://projects.gnome.org/evolution"
+arch="all"
+license="GPL"
+depends="gnome-icon-theme gsettings-desktop-schemas highlight"
+depends_dev="gtk+3.0-dev glib-dev itstool libxml2-dev libxml2-utils
+ webkitgtk-dev gcr-dev evolution-data-server-dev enchant-dev
+ libcanberra-dev gtkspell-dev libgweather-dev openldap-dev
+ libnotify-dev"
+makedepends="$depends_dev gperf flex bison"
+install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
+
+_builddir="${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ac_cv_libiconv_utf8=yes\
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-pst-import \
+ --disable-gnome-desktop \
+ --disable-autoar \
+ --disable-libcryptui \
+ --disable-gtkspell \
+ --with-openldap \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="9262300694650517046b48fb2ae98d30 evolution-3.18.4.tar.xz"
+sha256sums="8161a0ebc77e61904dfaca9745595fefbf84d834a07ee1132d1f8d030dabfefb evolution-3.18.4.tar.xz"
+sha512sums="ddb7922cedd490808c21a21d6a2e23f7399f1569bea69d5e0434f27b0f5b75b898ff68f17883bfd75eddb2ec9059628406e1b1f7811e1962a6da2dff4777ade2 evolution-3.18.4.tar.xz"