updated on Fri Jan 13 00:14:41 UTC 2012
[aur-mirror.git] / gnome-shell-extension-weather-git / PKGBUILD
bloba48bfb7496b12629d4cf0eb0f44112b79203cbe3
1 #Submitter: linx56
2 #Maintainer: Simon Legner <Simon.Legner@gmail.com>
3 pkgname=gnome-shell-extension-weather-git
4 pkgver=20120113
5 pkgrel=1
6 pkgdesc="A GNOME Shell extension for displaying weather notifications"
7 arch=('any')
8 url="https://github.com/simon04/gnome-shell-extension-weather"
9 license=('GPL3')
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"
16 build() {
17   cd "$srcdir"
18   msg "Connecting to GIT server...."
20   if [ -d $_gitname ] ; then
21     cd $_gitname && git pull origin
22     msg "The local files are updated."
23   else
24     git clone $_gitroot $_gitname
25   fi
27   msg "GIT checkout done or server timeout"
29   cd "$srcdir/$_gitname"
30   ./autogen.sh --prefix=/usr
31   make
34 package() {
35   cd "$srcdir/$_gitname"
36   make DESTDIR=${pkgdir} install
37   install -D weather-extension-configurator.py ${pkgdir}/usr/bin/weather-extension-configurator