diff options
Diffstat (limited to 'unmaintained/evolution/APKBUILD')
-rw-r--r-- | unmaintained/evolution/APKBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/unmaintained/evolution/APKBUILD b/unmaintained/evolution/APKBUILD new file mode 100644 index 0000000000..3e5302ebab --- /dev/null +++ b/unmaintained/evolution/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=evolution +pkgver=2.32.1 +pkgrel=4 +pkgdesc="evolution mail client" +url="http://projects.gnome.org/evolution" +arch="all" +license="GPL" +depends="gnome-icon-theme" +depends_dev="gtk+-dev glib-dev libsoup-dev libxml2-dev gconf-dev libgdata-dev db-dev libgweather-dev libgnome-keyring-dev libical-dev nspr-dev nss-dev sqlite-dev evolution-data-server-dev + gnome-desktop-dev libunique-dev gtkhtml-dev gstreamer-dev gst-plugins-base-dev gtkimageview-dev openldap-dev" +makedepends="$depends_dev gperf flex bison" +install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall" +subpackages="$pkgname-dev $pkgname-doc" +source="ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2" + +_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 + + # to build against gtk+-2.24 + # http://bugs.gentoo.org/show_bug.cgi?id=352400 + sed -i -e "s:-DGTK_DISABLE_DEPRECATED::" configure +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --disable-nm \ + --disable-pst-import \ + --disable-scrollkeeper || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir"/usr/lib -name '*.la' -delete || return 1 +} + +md5sums="47c1d45366aaa69e79a320f351ef065d evolution-2.32.1.tar.bz2" |