updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / wlassistant / PKGBUILD
blob3ba5ac815044bdf9a1398fc29b92385a4a93c901
1 # Maintainer Jonny Gerold <jonny@fsk141.com 
3 pkgname=wlassistant
4 pkgver=0.5.7
5 pkgrel=3
6 pkgdesc="Tool to detect and configure wireless networks"
7 arch=('i686' 'x86_64')
8 license=('GPLv2')
9 url="http://wlassistant.sourceforge.net"
10 depends=('kdelibs3' 'python')
11 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
12         'wlassistant-0.5.5-rpath.patch'
13         'wlassistant-0.5.7-fd_cloexec.patch'
14         'wlassistant-0.5.7-fix_scons_chmod_error.patch'
15         'wlassistant-0.5.7-inline.patch')
17 md5sums=('4623b498ac42839d08c631c500f18f8b'
18          '065b01b60f29676b75c5678a938f84b6'
19          '6e66bb5ab5ef9a2cd9fa9854675b5338'
20          '3e2b2871d9f19c84d569c519484e3240'
21          '9ae34c75358dfb00cbc3e2c9c7a1e748')
23 build() {
24         cd "$srcdir/$pkgname-$pkgver"
26         . /etc/profile.d/qt3.sh
27         . /etc/profile.d/kde3.sh
28         export PATH=$QTDIR/bin:$PATH
30         patch -p1 < ../wlassistant-0.5.5-rpath.patch
31         patch -p1 < ../wlassistant-0.5.7-fd_cloexec.patch
32         patch -p1 < ../wlassistant-0.5.7-fix_scons_chmod_error.patch
33         patch -p1 < ../wlassistant-0.5.7-inline.patch
35         ./configure --prefix=/usr
36         make || return 1
37         make DESTDIR="$pkgdir" install