aboutsummaryrefslogblamecommitdiffstats
path: root/community/libgweather/APKBUILD
blob: 4d60f93f5b2a91f30ee8bd31dcfdafdce698e82e (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                         
                                                   
                   
             
        



                               
                



                                                                                                   













                                                                        



                                 
                                   
                           







                                                  


                                                                                                                                                                        
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgweather
pkgver=3.18.1
pkgrel=1
pkgdesc="GNOME weather library"
url="http://www.gnome.org/"
arch="all"
license="LGPL"
depends="tzdata"
makedepends="gtk+3.0-dev libsoup-dev libxml2-dev glib-dev geocode-glib-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"

_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="0a4bd5421c9cd2d845d0a91c8caa6117  libgweather-3.18.1.tar.xz"
sha256sums="94b2292f8f7616e2aa81b1516befd7b27682b20acecbd5d656b6954990ca7ad0  libgweather-3.18.1.tar.xz"
sha512sums="1fc6fda3610bcb4efd0eae57ce8706f126301f5d8399ff765d00c9cc8a513150d07cd098bc53e372b338b7801bd003d651cea0f5832edb990197d456bc89370f  libgweather-3.18.1.tar.xz"