updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / xfce4-wavelan-plugin-git / PKGBUILD
blob49f07fc183d59090029563c2bd30498934fbbf1f
1 # xfce4-wavelan-plugin-git
2 # Maintainer: Stephen Jackson <scj7t4@mst.edu>
4 pkgname=xfce4-wavelan-plugin-git
5 pkgver=20110601
6 pkgrel=1
7 pkgdesc="plugin to monitor wifi connectivity for the Xfce4 panel"
8 arch=('i686' 'x86_64')
9 license=('custom')
10 url="http://goodies.xfce.org/projects/panel-plugins/xfce4-wavelan-plugin/"
11 groups=('xfce4-goodies')
12 depends=('xfce4-panel' 'libxfcegui4')
13 conflicts=('xfce4-wavelan-plugin')
14 provides=('xfce4-wavelan-plugin')
15 makedepends=('intltool')
16 options=('!libtool')
18 _gitroot=(git://git.xfce.org/panel-plugins/xfce4-wavelan-plugin)
19 _gitname="xfce4-wavelan-plugin"
21 build() {
22   cd ${srcdir}
23   
24   if [ -d "$srcdir/$_gitname" ] ; then
25     rm -rf $_gitname
26   fi 
27   git clone ${_gitroot}
28   
29   cd ${srcdir}/${_gitname}
30   ./autogen.sh
31   ./configure --prefix=/usr \
32         --sysconfdir=/etc \
33         --libexecdir=/usr/lib \
34         --localstatedir=/var \
35         --disable-static \
36         --disable-debug
37   make || return 1
38   make DESTDIR=${startdir}/pkg install || return 1