# Maintainer: Stefan Husmann # Contributor: Jack Random, # previous: csllbr; Popsch # Thanks to the maintainers and contributors of the mu binary package pkgname=mu-git pkgver=1.5.8.r5303 pkgrel=1 epoch=1 pkgdesc="mu and mu4e from git" arch=('i686' 'x86_64') url="http://www.djcbsoftware.nl/code/mu" depends=('xapian-core' 'guile' 'gmime3') makedepends=('git') optdepends=('emacs: mu4e support') license=('GPL') provides=('mu') conflicts=('mu') source=('git+https://github.com/djcb/mu.git') md5sums=('SKIP') pkgver() { cd mu printf %s.r%s $(awk -F, '/AC_INIT/ {print $2}' configure.ac|tr -d \[ | tr -d \]) $(git rev-list --count HEAD) } build() { cd mu ./autogen.sh --prefix=/usr make } package() { cd mu make DESTDIR="$pkgdir" install }