summaryrefslogblamecommitdiff
path: root/user/libmateweather/APKBUILD
blob: 3d6f9573d7da825ccd252cecd0682832658d1e6d (plain) (tree)




































                                                                                                                                                                           
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=libmateweather
pkgver=1.22.0
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() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

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

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

sha512sums="43371fc615dda2b9042633a63ac4c1fb0b1ea43b20c783e443b0f57e10ad8fddedbd593f03bd6c942729f0a9c80484266fe1ef900d128fa4b02f80d6a80ae9bd  libmateweather-1.22.0.tar.xz"