updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / swscanner / PKGBUILD
blobcce2ef9d4e3b012b2be488c6b05638214422e3e7
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 ;)
8 pkgname=swscanner
9 pkgver=0.2.2
10 pkgrel=3
11 pkgdesc="SWScanner is a NetStumbler like wireless network (wifi/802.11) scanner."
12 arch=('i686' 'x86_64')
13 url="http://www.swscanner.org"
14 license="GPL"
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')
22 build() {
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