Date: Sunday, February 10, 2019 @ 02:58:19 Author: foutrelis Revision: 345818
archrelease: copy trunk to staging-x86_64 Added: gmime3/repos/staging-x86_64/ gmime3/repos/staging-x86_64/PKGBUILD (from rev 345816, gmime3/trunk/PKGBUILD) ----------+ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) Copied: gmime3/repos/staging-x86_64/PKGBUILD (from rev 345816, gmime3/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-02-10 02:58:19 UTC (rev 345818) @@ -0,0 +1,44 @@ +# Maintainer: Jan de Groot <j...@archlinux.org> +# Contributor: Ben <b...@benmazer.net> + +pkgname=gmime3 +pkgver=3.2.3 +pkgrel=3 +pkgdesc="A C/C++ MIME creation and parser library with support for S/MIME, PGP, and Unix mbox spools" +arch=(x86_64) +license=(GPL) +url="https://github.com/jstedfast/gmime" +depends=(glib2 gpgme zlib libidn2) +makedepends=(gobject-introspection gtk-doc git vala docbook-utils) +_commit=01be60574ccf95b9fe971a586292a275af8e2c8b # tags/3.2.3^0 +source=("git+https://github.com/jstedfast/gmime#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd gmime + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd gmime + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd gmime + + ./configure --prefix=/usr \ + --program-prefix=$pkgname \ + --enable-gtk-doc \ + --enable-smime \ + --disable-static + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +package() { + cd gmime + make DESTDIR="$pkgdir" install +}