blob: 5b4eba4ff038429bd836058dbad7535673e13d73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Marcel Röthke <marcel@roethke.info>
# Contributor: Pierre Neidhardt <ambrevar@gmail.com>
# Contributor: csllbr; Popsch <popsch@gmx.net>
pkgname=mu
pkgver=1.12.7
pkgrel=1
pkgdesc="Maildir indexer/searcher and Emacs client (mu4e)"
arch=("x86_64" "armv7h")
url="http://www.djcbsoftware.nl/code/mu"
license=("GPL-3.0-or-later")
depends=("gmime3" "xapian-core" "readline" "glib2")
makedepends=("emacs" "meson")
optdepends=("emacs: mu4e support")
source=("https://github.com/djcb/mu/releases/download/v${pkgver}/mu-${pkgver}.tar.xz")
sha256sums=('d916ba9b8ada90996b37eedf7f5fc70c35eb77f47fd933a502fbe0dccf2a6529')
prepare() {
cd "$pkgname-$pkgver"
arch-meson \
-Dc_args="${CFLAGS}" \
-Dcpp_args="${CFLAGS}" \
-Dc_link_args="${LDFLAGS}" \
-Dcpp_link_args="${LDFLAGS}" \
-Dguile=disabled \
-Dreadline=enabled \
-Dcld2=disabled \
build
}
build() {
cd "$pkgname-$pkgver"
ninja -C build
}
package() {
cd "$pkgname-$pkgver"
DESTDIR="${pkgdir}" meson install -C build
}
|