# Contributor: Rasmus Thomsen # Maintainer: team/gnome pkgname=gnome-clocks pkgver=44.0 pkgrel=2 pkgdesc="Clock application designed for GNOME 3" url="https://wiki.gnome.org/Apps/Clocks" arch="all" license="GPL-2.0-or-later" depends="gsettings-desktop-schemas waked" makedepends=" desktop-file-utils geoclue-dev geocode-glib-dev>=3.26.4-r1 gettext-dev glib-dev gnome-desktop-dev gsound-dev gtk4.0-dev itstool libgweather4-dev libadwaita-dev meson vala " checkdepends="appstream-glib" subpackages="$pkgname-lang $pkgname-doc" source="https://download.gnome.org/sources/gnome-clocks/${pkgver%.*}/gnome-clocks-$pkgver.tar.xz 0001-invoke-waked-when-an-alarm-changes.patch 0002-Add-argument-to-start-initial-instance-in-the-backgr.patch gnome-clocks.desktop " build() { abuild-meson . output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output install -Dm644 "$srcdir"/gnome-clocks.desktop \ "$pkgdir"/etc/xdg/autostart/gnome-clocks.desktop } sha512sums=" f262a18d13e5cb373760b02aa4dd79d7e6843aa400813d0c108bee0dfc084fb3d734e01cf1ffeadb34eb0f3e4db29d85d6817a98afa7864e997d7e2c5425d1bd gnome-clocks-44.0.tar.xz 22404c6fffc79adda9fb35dbfe1308ff9b32afbdac0d1078d6e52376ca0e1cf63a8b00acf19aa7a5340039af35b87222892971d8bb3bb1d2ea070c2fc4ea1c5f 0001-invoke-waked-when-an-alarm-changes.patch ffb93c5e5ff4f888c3e1308142af332f15293b84018b262398f7a41216bc1b91eb1c02bd551db079b4e35cca184c70462d8fa900a94f3afeadb033ff41046b55 0002-Add-argument-to-start-initial-instance-in-the-backgr.patch 49126e7428054e87d861468aa714637f2034b620f34aba6b898c7c187524ee5057596bbcebec9bdec471336e8df1edbf48c2ef594898d0e6c559b1f19af39510 gnome-clocks.desktop "