summaryrefslogblamecommitdiff
path: root/user/libmateweather/APKBUILD
blob: 34839685c3c8ca0ce4f93f70e43f5301070078db (plain) (tree)
1
2
3
4

                                                         
                      
             










                                                                                         





                                         


                                                    



            



                  


                                      
                                                                                                                                                                           
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=libmateweather
pkgver=1.24.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="1e653a167b12593171bb3dcfae3a5e57b3f874b220c34ca4ad2e575da7df424ce8a71f88088f53ec53cf9614d40ecda48b088ef6bede680c0ce81dca35ee1156  libmateweather-1.24.1.tar.xz"