# Template file for 'gnome-shell-extension-weather'
pkgname=gnome-shell-extension-weather
version=20130128
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"

nofetch=yes
noextract=yes

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}
	cd ${pkgname}-${version} && git checkout 50758109b717c74243c7365f338b57b81686bc93
}

pre_configure() {
	./autogen.sh
}

gnome-shell-extension-weather_package() {
	depends="gnome-shell>=3.6<3.8"
	noarch="yes"
	pkg_install() {
		vmove usr
	}
}
