2 #Maintainer: Simon Legner <Simon.Legner@gmail.com>
3 pkgname=gnome-shell-extension-weather-git
6 pkgdesc="A GNOME Shell extension for displaying weather notifications"
8 url="https://github.com/simon04/gnome-shell-extension-weather"
10 depends=('gnome-shell-extensions-common>=3.2.0' 'dconf' 'gettext' 'pkg-config')
11 makedepends=('git' 'gnome-common' 'autoconf' 'automake' 'intltool')
12 install='gschemas.install'
14 _gitroot="https://github.com/simon04/gnome-shell-extension-weather"
15 _gitname="gnome-shell-extension-weather"
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
24 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
29 cd "$srcdir/$_gitname"
30 ./autogen.sh --prefix=/usr
35 cd "$srcdir/$_gitname"
36 make DESTDIR=${pkgdir} install
37 install -D weather-extension-configurator.py ${pkgdir}/usr/bin/weather-extension-configurator