summaryrefslogblamecommitdiff
path: root/user/libmateweather/APKBUILD
blob: 633801d58f58d311da0c23be4db3d80c006ebacd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                                                           
                      
             
        






                                                                        


                                                                                        

         





                                         


                                                    



            



                  


                                      

                                                                                                                                                                          
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=libmateweather
pkgver=1.26.0
pkgrel=1
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
	fix-timezone.patch
	"

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="e786071d8c9393abc6d8f0733bd213305ace50698066ba7913ac254d8944e6db94296de5ecf91c0d5a8babd38f0cc35cb3bcee046f1eb0339ec5429a66d062d1  libmateweather-1.26.0.tar.xz
b4ab9363dc8b6fb84cbbc968a2557cd6b9ff96846f4c9aef565f27aa1383d14fdd51c7dc3a3177934e347490fa63f6e1724da399432ba6d68d26ffebc09f34cd  fix-timezone.patch"