aboutsummaryrefslogtreecommitdiffstats
path: root/community/libgweather/APKBUILD
blob: a170c57ba61a32cd722c3f9e2c69febf50031802 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libgweather
pkgver=3.32.2
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="61543e5eaf8c04605a91a6f47811b3a0ed2b04c2f50eae9b8d08a4e24904db4731748fa27a0863d2cdab5fde776ec55abe9fd9fb2a72c7bd546665d59957cb4d  libgweather-3.32.2.tar.xz"