aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-weather/APKBUILD
blob: 61433377b0ce3a2a863ef06bdeb4bc3ae798615b (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-weather
pkgver=40.1
pkgrel=0
pkgdesc="GNOME Weather application"
url="https://wiki.gnome.org/Apps/Weather"
# s390x, mips64 and riscv64 blocked by gjs
arch="noarch !s390x !mips64 !riscv64"
license="GPL-2.0-only"
makedepends="meson glib-dev gobject-introspection-dev gtk+3.0-dev gjs-dev
	geoclue-dev libgweather-dev libhandy1-dev"
checkdepends="appstream-glib desktop-file-utils"
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-weather/${pkgver%.*}/gnome-weather-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
47086225a2f0212665e53f053d46b54792d4daebff841bb751a7ed8ca7e2e1d60f0247d890011a03cab4104b0461b71316ff9b6eaea671c68bc1713c38e447dc  gnome-weather-40.1.tar.xz
"