summaryrefslogtreecommitdiff
path: root/~xihh/gmime24/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to '~xihh/gmime24/PKGBUILD')
-rw-r--r--~xihh/gmime24/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/~xihh/gmime24/PKGBUILD b/~xihh/gmime24/PKGBUILD
new file mode 100644
index 000000000..d50f71c4d
--- /dev/null
+++ b/~xihh/gmime24/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 150770 2012-02-21 20:45:23Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: Ben <ben@benmazer.net>
+
+_pkgbase=gmime
+pkgname=gmime24
+pkgver=2.4.32
+pkgrel=1
+pkgdesc="Core mime parsing library"
+arch=('i686' 'x86_64' 'mips64el')
+license=('GPL')
+url="http://spruce.sourceforge.net/gmime/"
+depends=('glib2' 'gpgme' 'zlib')
+makedepends=('gtk-sharp-2' 'pkgconfig')
+[ "$CARCH" = "mips64el" ] && unset makedepends
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$_pkgbase/${pkgver%.*}/$_pkgbase-$pkgver.tar.xz)
+sha256sums=('a0e8f3a1949e7281e92edc5dd6309a7ca34b6838c6acf7b7f1563a41b5ddd74b')
+
+build() {
+ # get rid of that .wapi errors in fakeroot
+ export MONO_SHARED_DIR="$srcdir/weird"
+ mkdir -p "$MONO_SHARED_DIR"
+
+ cd "$srcdir/$_pkgbase-$pkgver"
+
+ ./configure --prefix=/usr --enable-smime \
+ --disable-static
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgbase-$pkgver"
+ make DESTDIR="$pkgdir" install
+}