diff options
Diffstat (limited to 'community/mu/APKBUILD')
-rw-r--r-- | community/mu/APKBUILD | 61 |
1 files changed, 23 insertions, 38 deletions
diff --git a/community/mu/APKBUILD b/community/mu/APKBUILD index 8a52f74f56a..f01b3493639 100644 --- a/community/mu/APKBUILD +++ b/community/mu/APKBUILD @@ -3,69 +3,54 @@ # Contributor: Eivind Uggedal <eu@eju.no> # Contributor: Nico Schottelius <nico.schottelius@ungleich.ch> # Contributor: Justin Berthault <justin.berthault@zaclys.net> -# Maintainer: +# Maintainer: Celeste <cielesti@protonmail.com> pkgname=mu -pkgver=1.6.10 +pkgver=1.12.4 pkgrel=0 pkgdesc="A collection of utilities for indexing and searching Maildirs" -# armv7 and x86 blocked by gmime -arch="all !armv7 !x86" -url="http://www.djcbsoftware.nl/code/mu" -license="GPL-3.0" -depends="sqlite" +url="https://www.djcbsoftware.nl/code/mu/" +arch="all" +license="GPL-3.0-or-later" makedepends=" - autoconf - automake - emacs - gettext-dev + emacs-nox + glib-dev gmime-dev - libtool + meson + readline-dev texinfo - sqlite-dev xapian-core-dev " subpackages="$pkgname-doc mu4e::noarch" -source="$pkgname-$pkgver.tar.gz::https://github.com/djcb/mu/archive/$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://github.com/djcb/mu/archive/v$pkgver.tar.gz" prepare() { default_prepare - autoreconf --force --install + + abuild-meson \ + -Dguile=disabled \ + -Dreadline=enabled \ + build } build() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - --disable-webkit \ - --disable-gtk \ - --enable-mu4e - make + ninja -C build } -package() { - make DESTDIR=$pkgdir install +check() { + meson test -C build +} - if [ -f toys/msg2pdf/msg2pdf ]; then - install -m755 toys/msg2pdf/msg2pdf $pkgdir/usr/bin/msg2pdf - fi - if [ -f toys/mug/mug ]; then - install -m755 toys/mug/mug $pkgdir/usr/bin/mug - install -Dm644 toys/mug/mug.svg $pkgdir/usr/share/pixmaps/mug.svg - fi +package() { + DESTDIR=$pkgdir meson install -C build } mu4e() { pkgdesc="Emacs-based e-mail client which uses mu as its back-end" depends="$pkgname=$pkgver-r$pkgrel cmd:emacs" - mkdir -p "$subpkgdir"/usr - mv "$pkgdir"/usr/share "$subpkgdir"/usr + amove usr/share } sha512sums=" -5a201b02265ca6edd9cef56d46dfa5c608a719d383dc86e99d11b64f438b6307a9f28e1f0fea068ea6ed745c5b38e6e24465ff48c2d548f9e4740a5bb258a50f mu-1.6.10.tar.gz +270eb5d98699315e6b2ad6b7605429358ca6296a85c1c019d77a96c9bcb184d5d7abae0d64f8704e6d25166710ba38d57a2d4b0dd8875ca07089610207d03352 mu-1.12.4.tar.gz " |