2 # Contributor: Baurzhan Muftakhidinov <baurthefirst@gmail.com>
4 _pkgname=xfce4-weather-plugin
5 pkgname=${_pkgname}-git
8 pkgdesc="A weather plugin for the Xfce4 panel"
11 url="http://www.xfce.org"
13 depends=('xfce4-panel-git' 'libxml2' 'hicolor-icon-theme')
14 makedepends=('git' 'intltool' 'pkgconfig' 'xfce4-dev-tools-git')
15 provides=("${_pkgname}")
18 install=${_pkgname}.install
21 _gitroot="git://git.xfce.org/thunar-plugins/$_pkgname"
27 msg "Getting sources..."
29 if [ -d "$srcdir/$_gitname" ] ; then
30 cd $_gitname && git pull origin
31 msg "The local files are updated."
36 msg "GIT checkout done or server timeout"
37 msg "Starting build..."
42 ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
43 --localstatedir=/var --disable-static --enable-debug=minimum \
44 --enable-maintainer-mode || return 1
47 make DESTDIR=${startdir}/pkg install || return 1