summaryrefslogtreecommitdiff
path: root/community/gmime24/PKGBUILD
blob: 64f2d9f7e8e66f23e55b0e6b777306733243ef91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id: PKGBUILD 87490 2013-04-01 16:50:15Z 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.33
pkgrel=1
pkgdesc="Core mime parsing library"
arch=(i686 x86_64 mips64el)
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=('a4dc6e553c0cf3b7d96dfef8ab633163')

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
}

package() {
  cd ${srcdir}/gmime-${pkgver}
  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
}