# 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/Neroth/gnome-shell-extension-weather"
license="GPL-3"

noarch=yes
nofetch=yes
noextract=yes

depends="gnome-shell>=3.6<3.8"
makedepends="which gnome-common>=3.6.0_2 pkg-config intltool
 gettext-devel glib-devel git"

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

pre_configure() {
	./autogen.sh
}
