blob: d2542b09997c615ad7e808caca8fd16b88f75fce (
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
39
40
41
42
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgweather
pkgver=3.28.2
pkgrel=0
pkgdesc="GNOME weather library"
url="https://www.gnome.org/"
arch="all"
license="LGPL"
depends="tzdata"
makedepends="gtk+3.0-dev libsoup-dev libxml2-dev
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"
checkdepends="gsettings-desktop-schemas"
source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
builddir="${srcdir}/${pkgname}-${pkgver}"
build() {
mkdir -p "$builddir"/build
cd "$builddir"/build
meson \
--prefix=/usr \
--buildtype=release \
--sysconfdir=/etc \
-Dgtk_doc=true \
..
ninja
}
check() {
cd "$builddir"/build
ninja test
}
package() {
cd "$builddir"/build
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
DESTDIR="$pkgdir" ninja install
}
sha512sums="b92716f5f7d7789e12f8fd66ad23de35e921d493ebf4618f68cc669e1b9be8ae6fbb929ee9a027fefe0ad9550f0d39c8647aa0d7ad7e35f1980bee8c9de19b4e libgweather-3.28.2.tar.xz"
|