1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Ben <ben@benmazer.net>
8 pkgdesc="A C/C++ MIME creation and parser library with support for S/MIME, PGP, and Unix mbox spools"
9 url="https://github.com/jstedfast/gmime"
12 depends=(glib2 gpgme zlib libidn2)
13 makedepends=(gobject-introspection gtk-doc git vala docbook-utils)
14 provides=(libgmime-3.0.so)
15 _commit=da1b041a2ce7e5e5c9d2c3e9499fe71b7a84d222 # tags/3.2.13^0
16 source=("git+https://github.com/jstedfast/gmime#commit=$_commit")
21 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
26 NOCONFIGURE=1 ./autogen.sh
34 --localstatedir=/var \
38 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
49 make DESTDIR="$pkgdir" install