1 # Contributor: MatÃas Javier Rossi <matiasjrossi@gmail.com>
2 # Previous PKGBUILD contributed by: Thomas Mudrunka <harvie@@email..cz>
3 # Original PKGBUILD contributed by: Erwin Van de Velde <erwin.vandevelde@gmail.com>
5 # IMPORTANT:: I don't know why, but unless you run makepkg as root configure will stop, and tell you to rebuild kdelibs.
6 # (Of course, build it as root at your own risk ;)
11 pkgdesc="SWScanner is a NetStumbler like wireless network (wifi/802.11) scanner."
12 arch=('i686' 'x86_64')
13 url="http://www.swscanner.org"
15 depends=(qt3 libidn acl libart-lgpl fam shapelib kdelibs3)
16 builddepends=('glibc' 'gcc')
17 source=('http://www.swscanner.org/descargas/$pkgname-$pkgver.tar.gz'
18 'swscanner-0.2.2-mjr.patch')
19 md5sums=('6337ca79f295b42a256790f0133b7730'
20 'e0c585f910ad08ada34b10ad58c1f4f3')
23 cd ${srcdir}/swscanner-${pkgver}
24 patch -p1 < ${startdir}/${pkgname}-${pkgver}-mjr.patch
25 source /etc/profile.d/qt*.sh
26 ./configure --prefix=/opt/kde/ --without-arts --with-extra-includes=/usr/include/libshp --with-extra-libs="/opt/qt/lib -L/opt/kde/lib" && make
27 make DESTDIR=${pkgdir} install