aboutsummaryrefslogtreecommitdiffstats
path: root/community/libmateweather/APKBUILD
blob: 3e03db85d413b890c07fe37bb809caa27da020d9 (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: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=libmateweather
pkgver=1.21.0
pkgrel=0
pkgdesc="A library to access weather information from online services for numerous locations"
url="https://github.com/mate-desktop/libmateweather"
arch="all"
license="GPL-2.0"
depends="mate-common"
makedepends="libsoup-dev libtool intltool gtk+3.0-dev libxml2-utils tzdata"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="dab6d10dcf6db51a7b321690066983e06b3e237842660125b0dc36b565a04e5910f0091826091e78a9c2634932a73bf45f4749c505fd42f407f4a5f921ed68c9  libmateweather-1.21.0.tar.xz"