aboutsummaryrefslogtreecommitdiffstats
path: root/community/libgweather/APKBUILD
blob: 1914b0dd8e9b330de7abfb737c39fdf51ff00219 (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: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgweather
pkgver=3.26.0
pkgrel=0
pkgdesc="GNOME weather library"
url="http://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"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
builddir="${srcdir}/${pkgname}-${pkgver}"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc
	make
}

check() {
	cd "$builddir"
	make check
}
package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="46fcc8319861237f908218b223102217591d731803093727a159912cefbd82017e1e064535d785e7f4ee6d227b47aff3240a14396fb9dc06ab26343720473606  libgweather-3.26.0.tar.xz"