# Template file for 'gnome-shell-extension-weather'
pkgname=gnome-shell-extension-weather
version="$(date -u +%Y%m%d)"
revision=1
build_style=gnu-configure
short_desc="GNOME Shell extension for displaying weather notifications"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="https://github.com/simon04/gnome-shell-extension-weather"
license="GPL-3"
long_desc="
 gnome-shell-extension-weather is a simple extension for displaying weather
 notifications in GNOME Shell.
 
 Currently, the weather report including forecast for today and tomorrow is
 fetched from Yahoo! Weather."

noarch=yes
nofetch=yes
noextract=yes

depends="gnome-shell>=3.6<3.8"

makedepends="which gnome-common>=3.6.0 pkg-config intltool
 gettext-devel glib-devel git"

do_fetch() {
	local url="git://github.com/canek-pelaez/${pkgname}.git"
	msg_normal "Fetching source from $url ...\n"
	git clone ${url} ${pkgname}-${version}
}

pre_configure() {
	./autogen.sh
}
