# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gmime pkgver=3.2.4 pkgrel=0 pkgdesc="Glorious MIME Utility Library" url="https://github.com/jstedfast/gmime" arch="all" license="LGPL-2.1-or-later" makedepends="glib-dev gpgme-dev libnsl-dev libidn2-dev vala gobject-introspection-dev" options="!check" # https://github.com/jstedfast/gmime/issues/63 subpackages="$pkgname-static $pkgname-dev $pkgname-doc" source="https://download.gnome.org/sources/gmime/${pkgver%.*}/gmime-$pkgver.tar.xz" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --enable-vala make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="34592e89a2f923dacc37ac535da785918c2c0d6a63b0f2ec1d86393264aace44d1060e8ef4a77e60fd57e97475435f8e79d87e46b269ae332db9b9aaf98bf61b gmime-3.2.4.tar.xz"