arch-packages/elementary-mail/PKGBUILD
Alan Orth 81180100cd
Add elementary-mail
New package with Elementary OS 6, now based on Evolution data server
instead of Geary. Still not fully functional.
2021-06-20 15:33:03 +03:00

35 lines
751 B
Bash

# 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
}