diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/gmime22 |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/gmime22')
-rw-r--r-- | community/gmime22/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/gmime22/PKGBUILD b/community/gmime22/PKGBUILD new file mode 100644 index 000000000..12d5d75df --- /dev/null +++ b/community/gmime22/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 54842 2009-10-11 19:49:14Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Ben <ben@benmazer.net> + +pkgname=gmime22 +pkgver=2.2.26 +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.2/gmime-${pkgver}.tar.bz2) +md5sums=('fed7c1beab58f5e5f4831c266fe974aa') + +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 || return 1 + make || return 1 + make DESTDIR=${pkgdir} install || return 1 + + # These are gmime alternatives for the same shareutils tools + rm -rf ${pkgdir}/usr/bin/uuencode ${pkgdir}/usr/bin/uudecode ${pkgdir}/usr/share && \ + mv ${pkgdir}/usr/bin/gmime-config ${pkgdir}/usr/bin/gmime22-config +} |