summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4167a349b455ca8df027cd98c1329faee564ac15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Luna Jernberg <lunajernberg@gnome.org>
# Contributor: Sebastian Krzyszkowiak <dos@dosowisko.net>
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=gnome-clocks-git
pkgver=44.0.r31.g6028a42
pkgrel=2
pkgdesc="Clocks applications for GNOME"
url="https://wiki.gnome.org/Apps/Clocks"
arch=(x86_64)
license=(GPL)
depends=(gtk3 gtk4 libcanberra libgweather-4 gnome-desktop geoclue2 geocode-glib gsound)
makedepends=(vala gobject-introspection yelp-tools git meson)
groups=(gnome)
provides=(gnome-clocks)
conflicts=(gnome-clocks)
source=("git+https://gitlab.gnome.org/GNOME/gnome-clocks.git")
sha256sums=('SKIP')

pkgver() {
  cd gnome-clocks
  git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  arch-meson gnome-clocks build
  ninja -C build
}

check() {
  meson test -C build
}

package() {
  DESTDIR="$pkgdir" meson install -C build
}