summaryrefslogtreecommitdiff
path: root/community/gmime24/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gmime24/PKGBUILD')
-rw-r--r--community/gmime24/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/gmime24/PKGBUILD b/community/gmime24/PKGBUILD
new file mode 100644
index 000000000..d72951ccf
--- /dev/null
+++ b/community/gmime24/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 67635 2012-03-13 14:57:11Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: Ben <ben@benmazer.net>
+
+pkgname=gmime24
+pkgver=2.4.32
+pkgrel=1
+pkgdesc="Core mime parsing library"
+arch=(i686 x86_64)
+license=('GPL')
+url="http://spruce.sourceforge.net/gmime/"
+depends=('glib2' 'zlib')
+makedepends=('pkgconfig')
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/GNOME/sources/gmime/2.4/gmime-${pkgver}.tar.xz)
+md5sums=('46a52361d43769d20dbd87aa225bc3f9')
+
+build() {
+ # get rid of that .wapi errors in fakeroot
+ export MONO_SHARED_DIR="${srcdir}/weird"
+ mkdir -p "${MONO_SHARED_DIR}"
+
+ cd ${srcdir}/gmime-${pkgver}
+ [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr \
+ --disable-mono \
+ --disable-static
+ make
+ make DESTDIR=${pkgdir} install
+
+ # These are gmime alternatives for the same shareutils tools
+ rm -rf ${pkgdir}/usr/bin/uuencode ${pkgdir}/usr/bin/uudecode ${pkgdir}/usr/share
+}