pkgname=plextor-convertX-driver pkgver=0.9.8 pkgrel=3 _kernver=2.6.27-ARCH pkgdesc="Drivers for Plextor tuners" arch=(i686 x86_64) url="http://nikosapi.org/software/WIS_Go7007" install="convertX.install" source=("http://nikosapi.org/software/WIS_Go7007/wis-go7007-linux-0.9.8-2.tar.bz2" 'wis-go7007-2.6.26-nopage.diff' 'wis-go7007-linux-0.9.8-2-2.6.27.patch') depends=('udev>=070' 'fxload') makedepends=('gcc') build() { # SET UP cd $startdir/src/wis-go7007-linux-0.9.8-2 || return 1 patch -Np1 -i ../wis-go7007-2.6.26-nopage.diff || return 1 patch -Np1 -i ../wis-go7007-linux-0.9.8-2-2.6.27.patch || return 1 # build make clean || return 1 make || return 1 mkdir -p $startdir/pkg/usr/src/linux-$_kernver/include/linux mkdir -p $startdir/pkg/etc/udev/rules.d mkdir -p $startdir/pkg/usr/bin # install make DESTDIR=$startdir/pkg install || return 1 install -m755 apps/gorecord $startdir/pkg/usr/bin/gorecord install -m755 apps/modet $startdir/pkg/usr/bin/modet }