# $Id: PKGBUILD 213509 2014-05-24 00:14:28Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=gnome-weather
pkgver=3.12.1
pkgrel=1
pkgdesc="Access current weather conditions and forecasts"
arch=(i686 x86_64)
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=('23b99daf43838135c454af2c36a5964ab5e67a9c900a2b56ba9b3d96cdc67720')

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

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