# Maintainer: Endre Szabo # Maintainer: Marcel Röthke # Contributor: Pierre Neidhardt # Contributor: csllbr; Popsch pkgname=mu-emacsless pkgver=1.8.13 pkgrel=1 pkgdesc="Maildir indexer/searcher without the Emacs client (mu4e)" arch=("x86_64" "armv7h" "aarch64") url="http://www.djcbsoftware.nl/code/mu" license=("GPL") depends=("gmime3" "xapian-core") makedepends=("meson") source=("https://github.com/djcb/mu/releases/download/v${pkgver}/mu-${pkgver}.tar.xz") sha256sums=('20d69c1a918c1e48e6dbf5375d87ef3ed358bb6b3b7d0a120e93a88b16d5a026') prepare() { cd "$pkgname-$pkgver" arch-meson \ -Dc_args="${CFLAGS}" \ -Dcpp_args="${CFLAGS}" \ -Dc_link_args="${LDFLAGS}" \ -Dcpp_link_args="${LDFLAGS}" \ -Dguile=disabled \ -Dreadline=enabled \ -Demacs=disabled \ build } build() { cd "$pkgname-$pkgver" ninja -C build } package() { cd "$pkgname-$pkgver" DESTDIR="${pkgdir}" meson install -C build }