blob: ef12358ec60d133aec27fd6c8b86497c0931df6f (
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
43
44
45
|
# Maintainer: Marcel Röthke <marcel@roethke.info>
# Contributor: Pierre Neidhardt <ambrevar@gmail.com>
# Contributor: csllbr; Popsch <popsch@gmx.net>
pkgname=mu
pkgver=1.12.9
pkgrel=2
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" "guile")
optdepends=(
"emacs: mu4e support"
"guile: guile bindings"
)
source=("https://github.com/djcb/mu/releases/download/v${pkgver}/mu-${pkgver}.tar.xz")
sha256sums=('ed493ef4eab536815ca8f948848370cd00b4383bc006b6527ccdf21d38e16de5')
prepare() {
cd "$pkgname-$pkgver"
arch-meson \
-Dc_args="${CFLAGS}" \
-Dcpp_args="${CFLAGS}" \
-Dc_link_args="${LDFLAGS}" \
-Dcpp_link_args="${LDFLAGS}" \
-Dguile=enabled \
-Dreadline=enabled \
-Dcld2=disabled \
build
}
build() {
cd "$pkgname-$pkgver"
ninja -C build
}
package() {
cd "$pkgname-$pkgver"
DESTDIR="${pkgdir}" meson install -C build
}
|