# $Id: PKGBUILD 70649 2010-02-27 18:41:30Z tpowa $ # Originally by kleptophobiac # Modified by James Rayner for the repositories pkgname=madwifi-utils pkgver=0.9.4.4119 _kernver=2.6.33-ARCH pkgrel=1 pkgdesc="Userspace tools of madwifi drivers for Atheros wireless chipsets." arch=(i686 x86_64) license=('GPL') url="http://madwifi-project.org" depends=('wireless_tools') makedepends=('sharutils') provides=("madwifi-ng-utils") conflicts=("madwifi-ng-utils") replaces=("madwifi-ng-utils") # subversion source: svn checkout http://madwifi-project.org/svn/madwifi/trunk madwifi source=(ftp://ftp.archlinux.org/other/madwifi/madwifi-${pkgver}.tar.bz2 #http://downloads.sourceforge.net/sourceforge/madwifi/madwifi-$pkgver.tar.gz ) build() { [ "${CARCH}" == "i686" ] && export ARCH=i386 export KERNELPATH=/lib/modules/${_kernver}/build #cd $startdir/src/madwifi-$pkgver cd $startdir/src/madwifi make tools|| return 1 make DESTDIR=$startdir/pkg \ BINDIR=/usr/bin \ MANDIR=/usr/share/man \ install-tools } md5sums=('a720a20264b312c0ff906b9888bb49ae')