# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gnome-clocks pkgver=3.34.0 pkgrel=3 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" makedepends="meson glib-dev gtk+3.0-dev libgweather-dev gsound-dev gnome-desktop-dev geoclue-dev geocode-glib-dev gettext-dev vala itstool" subpackages="$pkgname-lang $pkgname-doc" source="https://download.gnome.org/sources/gnome-clocks/${pkgver%.*}/gnome-clocks-$pkgver.tar.xz" build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=plain \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="9e59534c5c8257ecab97876fc2742d37fd5dd1aad770ac31dd1c7dbafa9843f992c7cc39e3f5025f5091baf852538eb9d62bb07dd0a5c3c7a6cd69befa61ab52 gnome-clocks-3.34.0.tar.xz"