summaryrefslogtreecommitdiff
path: root/user/libmateweather/APKBUILD
blob: a7fdb3e04a2c34fbe40b793a82a7c437b991e7ff (plain) (blame)
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
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=libmateweather
pkgver=1.26.1
pkgrel=0
pkgdesc="Weather library for the MATE desktop environment"
url="https://mate-desktop.org"
arch="all"
license="LGPL-2.1+ AND GPL-2.0+"
depends=""
makedepends="gtk+3.0-dev intltool libsoup-dev libxml2-dev libxml2-utils"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/libmateweather-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-zoneinfo-dir \
		--enable-all-translations-in-one-xml
	make
}

check() {
	make check
}

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

sha512sums="98cf2363c0bc75341d206d8848484e44665a35e3f01e7f75510555ab341fe06a3c96ea8e1844b17d5da7bc5a172cb18b594c8edfeb28ca8e25a82149ae508748  libmateweather-1.26.1.tar.xz"