# $Id: PKGBUILD 241025 2015-06-18 22:22:00Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=gnome-weather
pkgver=3.16.2
pkgrel=1
pkgdesc="Access current weather conditions and forecasts"
arch=(any)
url="https://www.gnome.org/"
license=(GPL)
depends=(gtk3 gjs libgweather)
makedepends=(intltool gobject-introspection)
groups=(gnome-extra)
install=gnome-weather.install
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
sha256sums=('4ce5b5eb44eaee13ad6185ab6a01069a9030f894d9f97596be180091e42fbd91')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}
