# Maintainer: Jan Alexander Steffens (heftig) # Contributor: Ionut Biru pkgname=gnome-contacts pkgver=44.0 pkgrel=1 pkgdesc="Contacts Manager for GNOME" url="https://wiki.gnome.org/Apps/Contacts" arch=(x86_64) license=(GPL2) depends=( evolution-data-server folks gnome-online-accounts gtk4 libadwaita libgee libportal-gtk4 qrencode ) makedepends=( appstream-glib git gobject-introspection meson vala ) groups=(gnome) _commit=7de4264212aac05f8acec29ba54adac90ae8ed39 # tags/44.0^0 source=("git+https://gitlab.gnome.org/GNOME/gnome-contacts.git#commit=$_commit") b2sums=('SKIP') pkgver() { cd $pkgname git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g' } prepare() { cd $pkgname } build() { arch-meson $pkgname build meson compile -C build } check() { meson test -C build --print-errorlogs } package() { meson install -C build --destdir "$pkgdir" } # vim:set sw=2 sts=-1 et: