PKGBUILDs/extra/gmime/PKGBUILD

40 lines
1.1 KiB
Bash
Raw Normal View History

2012-01-17 13:32:30 +00:00
# $Id: PKGBUILD 146716 2012-01-16 19:50:47Z dreisner $
2012-01-09 21:40:46 +00:00
# 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
2012-02-19 17:25:59 +00:00
2012-01-09 21:40:46 +00:00
pkgname=gmime
2012-04-24 12:34:10 +00:00
pkgver=2.6.9
2012-01-09 21:40:46 +00:00
pkgrel=1
pkgdesc="Core mime parsing library"
arch=('i686' 'x86_64')
license=('GPL')
url="http://spruce.sourceforge.net/gmime/"
2012-01-17 13:32:30 +00:00
depends=('glib2' 'gpgme' 'zlib')
makedepends=('gtk-sharp-2')
2012-01-09 21:40:46 +00:00
options=('!libtool')
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
2012-04-24 12:34:10 +00:00
sha256sums=('5ebb60a35fa5c0789fe10f6e4af5040cb7bc4a707a8a962fbd57b4fc5595c0b9')
2012-01-09 21:40:46 +00:00
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"
2012-01-17 13:32:30 +00:00
2012-02-22 15:26:41 +00:00
./configure --prefix=/usr --enable-smime \
--disable-static
2012-01-09 21:40:46 +00:00
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}