Add elementary-mail

New package with Elementary OS 6, now based on Evolution data server
instead of Geary. Still not fully functional.
This commit is contained in:
Alan Orth 2021-06-20 15:33:03 +03:00
parent ef9a524395
commit 81180100cd
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 34 additions and 0 deletions

34
elementary-mail/PKGBUILD Normal file
View File

@ -0,0 +1,34 @@
# Maintainer: Alan Orth <aorth@mjanja.ch>
pkgname=elementary-mail
pkgver=r527.bd10b27a
pkgrel=1
epoch=1
pkgdesc="Mail app designed for elementary OS"
url="https://github.com/elementary/mail"
arch=(x86_64)
license=(GPL3)
depends=(libhandy evolution-data-server granite folks)
makedepends=(git meson vala cmake)
replaces=('pantheon-mail')
_commit=bd10b27a3beced8354264e4475ff8fcb8897f111
source=("$pkgname::git+https://github.com/elementary/mail.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd $pkgname
}
build() {
arch-meson $pkgname build
meson compile -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
}