mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
32 lines
1 KiB
Bash
32 lines
1 KiB
Bash
|
# $Id: PKGBUILD 2541 2008-06-06 15:00:54Z jgc $
|
||
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||
|
# Contributor: Ben <ben@benmazer.net>
|
||
|
|
||
|
pkgname=gmime
|
||
|
pkgver=2.2.21
|
||
|
pkgrel=1
|
||
|
pkgdesc="Core mime parsing library"
|
||
|
arch=(i686 x86_64)
|
||
|
license=('GPL')
|
||
|
url="http://spruce.sourceforge.net/gmime/"
|
||
|
depends=('glib2>=2.16.3' 'zlib')
|
||
|
makedepends=('gtk-sharp-2>=2.12.0' 'pkgconfig')
|
||
|
options=('!libtool')
|
||
|
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.2/${pkgname}-${pkgver}.tar.bz2)
|
||
|
md5sums=('16acf7ed0287f4aae419ad71e737762f')
|
||
|
|
||
|
build() {
|
||
|
# get rid of that .wapi errors in fakeroot
|
||
|
export MONO_SHARED_DIR="${startdir}/src/weird"
|
||
|
mkdir -p "${MONO_SHARED_DIR}"
|
||
|
|
||
|
cd ${startdir}/src/${pkgname}-${pkgver}
|
||
|
./configure --prefix=/usr || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR=${startdir}/pkg install || return 1
|
||
|
|
||
|
# These are gmime alternatives for the same shareutils tools
|
||
|
mv ${startdir}/pkg/usr/bin/uuencode ${startdir}/pkg/usr/bin/guuencode || return 1
|
||
|
mv ${startdir}/pkg/usr/bin/uudecode ${startdir}/pkg/usr/bin/guudecode || return 1
|
||
|
}
|