aboutsummaryrefslogtreecommitdiffstats
path: root/community/libgweather/APKBUILD
blob: 739a8dc53a4fb07755b09758323167c273d3d228 (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
37
38
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libgweather
pkgver=3.34.0
pkgrel=0
pkgdesc="GNOME weather library"
url="https://wiki.gnome.org/Projects/LibGWeather"
arch="all"
license="LGPL-2.1-or-later"
depends="tzdata gsettings-desktop-schemas"
makedepends="gtk+3.0-dev libsoup-dev libxml2-dev vala
	glib-dev geocode-glib-dev gobject-introspection-dev
	libxml2-utils gtk-doc py-six glade-dev meson ninja"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/libgweather/${pkgver%.*}/libgweather-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--buildtype=release \
		--sysconfdir=/etc \
		--buildtype=release \
		-Dgtk_doc=true \
		-Denable_vala=true \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="44451837039965251d86f6f538c943a771ab1944d9190ddb2c6bdb34b3ed0e33756c537e84f24487fd5f28b107e8d3af05a6c20a68f83734ac26ff69a8bd0aba  libgweather-3.34.0.tar.xz"