mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 08:55:20 +02:00
54 lines
1.3 KiB
Text
54 lines
1.3 KiB
Text
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
# Contributor: stef <l0ls0fo2i@ctrlc.hu>
|
|
# Contributor: Eivind Uggedal <eu@eju.no>
|
|
# Contributor: Nico Schottelius <nico.schottelius@ungleich.ch>
|
|
# Contributor: Justin Berthault <justin.berthault@zaclys.net>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=mu
|
|
pkgver=1.12.11
|
|
pkgrel=0
|
|
pkgdesc="A collection of utilities for indexing and searching Maildirs"
|
|
url="https://www.djcbsoftware.nl/code/mu/"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
makedepends="
|
|
emacs-nox
|
|
glib-dev
|
|
gmime-dev
|
|
muon
|
|
readline-dev
|
|
texinfo
|
|
xapian-core-dev
|
|
"
|
|
subpackages="$pkgname-doc mu4e::noarch"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/djcb/mu/archive/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
abuild-muon \
|
|
-Dguile=disabled \
|
|
-Dreadline=enabled \
|
|
-Dtests="$(want_check && echo enabled || echo disabled)" \
|
|
build
|
|
|
|
ninja -C build
|
|
}
|
|
|
|
check() {
|
|
muon -C build test -j "${JOBS:-0}" -R -d dots
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" muon -C build install
|
|
}
|
|
|
|
mu4e() {
|
|
pkgdesc="Emacs-based e-mail client which uses mu as its back-end"
|
|
depends="$pkgname=$pkgver-r$pkgrel cmd:emacs"
|
|
|
|
amove usr/share/emacs
|
|
}
|
|
|
|
sha512sums="
|
|
9c3fd931eff7fbbc02fed18063d81b7b4997af48b35b45b062b1e1b17251b1442f3a349560b91015dc70daac2bab14f16ea62160a3ac22fec2d4683ce19a364a mu-1.12.11.tar.gz
|
|
"
|