summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8e9f1665afb90e9e51b8f91a792f201fefefbe6e (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
pkgname=gnome-weather-git
_pkgname=gnome-weather
pkgver=3.34.0+27+g07c3cf5
pkgrel=1
pkgdesc="Access current weather conditions and forecasts"
url="https://wiki.gnome.org/Apps/Weather"
arch=(any)
license=(GPL)
depends=('gtk3' 'gjs' 'libgweather' 'geoclue2' 'gnome-desktop')
makedepends=('gobject-introspection' 'appstream-glib' 'git' 'meson')
provides=('gnome-weather')
conflicts=('gnome-weather')
groups=('gnome')
source=("git+https://gitlab.gnome.org/GNOME/gnome-weather.git")
sha512sums=('SKIP')

pkgver() {
  cd $_pkgname
  git describe --tags | sed 's/-/+/g'
}

build() {
  arch-meson $_pkgname build
  ninja -C build
}

check() {
  meson test -C build --print-errorlogs
}

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