# Contributor: Sören Tempel # Contributor: stef # Contributor: Eivind Uggedal # Contributor: Nico Schottelius # Contributor: Justin Berthault # Maintainer: pkgname=mu pkgver=1.8.13 pkgrel=0 pkgdesc="A collection of utilities for indexing and searching Maildirs" # armv7 and x86 blocked by gmime arch="all !armv7 !x86" url="http://www.djcbsoftware.nl/code/mu" license="GPL-3.0" depends="sqlite" makedepends=" autoconf automake emacs gettext-dev gmime-dev libtool texinfo sqlite-dev xapian-core-dev " subpackages="$pkgname-doc mu4e::noarch" source="$pkgname-$pkgver.tar.gz::https://github.com/djcb/mu/archive/v$pkgver.tar.gz" prepare() { default_prepare autoreconf --force --install } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --disable-webkit \ --disable-gtk \ --enable-mu4e make } package() { make DESTDIR=$pkgdir install if [ -f toys/msg2pdf/msg2pdf ]; then install -m755 toys/msg2pdf/msg2pdf $pkgdir/usr/bin/msg2pdf fi if [ -f toys/mug/mug ]; then install -m755 toys/mug/mug $pkgdir/usr/bin/mug install -Dm644 toys/mug/mug.svg $pkgdir/usr/share/pixmaps/mug.svg fi } mu4e() { pkgdesc="Emacs-based e-mail client which uses mu as its back-end" depends="$pkgname=$pkgver-r$pkgrel cmd:emacs" mkdir -p "$subpkgdir"/usr mv "$pkgdir"/usr/share "$subpkgdir"/usr } sha512sums=" 00a9b04ac189f02001fa70183b0ee5a417ce82503f9b0bc521ed2ba5760cfd9d6e9ad246a80b39384ec8cf66c0a663e80f10a035926f0e8685d422a5332865a2 mu-1.8.13.tar.gz "