mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# $Id: PKGBUILD 146716 2012-01-16 19:50:47Z dreisner $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
# Contributor: Ben <ben@benmazer.net>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - v7h needs to be built as -O1, workaround for gcc bug
|
|
|
|
plugrel=1
|
|
|
|
pkgname=gmime
|
|
pkgver=2.6.10
|
|
pkgrel=1
|
|
pkgdesc="Core mime parsing library"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
url="http://spruce.sourceforge.net/gmime/"
|
|
depends=('glib2' 'gpgme' 'zlib')
|
|
makedepends=('gtk-sharp-2')
|
|
options=('!libtool')
|
|
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
|
|
sha256sums=('a0e1132613339d6ba06df483a1f8d8bda6feb4f58f8b102daab2f1390fd6a3b7')
|
|
|
|
build() {
|
|
# get rid of that .wapi errors in fakeroot
|
|
export MONO_SHARED_DIR="$srcdir/weird"
|
|
mkdir -p "$MONO_SHARED_DIR"
|
|
|
|
[ $CARCH == "armv7h" ] && CFLAGS=`echo $CFLAGS | sed -e 's/-O2/-O1/'` && CXXFLAGS="$CFLAGS"
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
./configure --prefix=/usr --enable-smime \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|