# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gnome-maps
pkgver=3.10.2
pkgrel=1
pkgdesc="A simple GNOME 3 maps application"
arch=(any)
license=('GPL')
url="https://live.gnome.org/Maps"
depends=(geocode-glib geoclue2 gjs gnome-desktop libchamplain gnome-themes-standard gnome-icon-theme-symbolic)
makedepends=(intltool)
groups=('gnome-extra')
install=gnome-maps.install
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
sha256sums=('1351967e5530c5fe455233c585362443eda1a6c4a089e6104d4b672087c74bd0')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --disable-schemas-compile
  make
}

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