#$Id: PKGBUILD,v 1.32 2007/02/12 08:13:10 aaron Exp $ #Maintainer: Aaron Griffin pkgname=ndiswrapper${subname} _kernver=2.6.20-${kernrelase} pkgver=1.37 pkgrel=1 pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For arch 2.6 kernel ${subname}." arch=(i686 x86_64) url="http://ndiswrapper.sourceforge.net" install="ndiswrapper.install" depends=('ndiswrapper-utils' "kernel26${subname}") source=(http://easynews.dl.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-$pkgver.tar.gz) md5sums=('55ee2bd959bfdd3ea4ced6ee8d325c0e') build() { cd $startdir/src/ndiswrapper-$pkgver/driver make KVERS=$_kernver make DESTDIR=$startdir/pkg KVERS=$_kernver install || return 1 rm $startdir/pkg/lib/modules/$_kernver/modules.* #wtf? sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install }