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 /extra/gmime |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/gmime')
-rw-r--r-- | extra/gmime/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/extra/gmime/PKGBUILD b/extra/gmime/PKGBUILD new file mode 100644 index 000000000..663f51870 --- /dev/null +++ b/extra/gmime/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 113007 2011-03-08 07:02:20Z heftig $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Ben <ben@benmazer.net> + +pkgname=gmime +pkgver=2.4.23 +pkgrel=1 +pkgdesc="Core mime parsing library" +arch=('i686' 'x86_64') +license=('GPL') +url="http://spruce.sourceforge.net/gmime/" +depends=('glib2' 'zlib') +makedepends=('gtk-sharp-2' 'pkgconfig') +options=('!libtool') +source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('0cfd38cd8960979fd6e36a36afa9aec89f33dfe787f2bb11b8e8cdb0809e8377') + +build() { + # get rid of that .wapi errors in fakeroot + export MONO_SHARED_DIR="${srcdir}/weird" + mkdir -p "${MONO_SHARED_DIR}" + + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + # These are gmime alternatives for the same shareutils tools + mv "${pkgdir}/usr/bin/uuencode" "${pkgdir}/usr/bin/guuencode" + mv "${pkgdir}/usr/bin/uudecode" "${pkgdir}/usr/bin/guudecode" +} |