1 # Contributor: Dieter Plaetinck <dieter@plaetinck.be>
5 pkgdesc="Linux driver for the Primax Colorado Direct 9600 scanner and other scanners based on the 'E3' ASIC"
7 url="http://home2.swipnet.se/~w-25069/pxscan.html"
18 source=("http://home2.swipnet.se/%7Ew-25069/$pkgname-$pkgver.tgz")
20 md5sums=('4b96a5854f649a743f94c2cc5030e73c')
23 cd "$srcdir/$pkgname-$pkgver"
24 sed -i 's#asm/io.h#sys/io.h#' portio.c || return 1
25 sed -i 's#asm/io.h#sys/io.h#' probe_lp.c || return 1
26 sed -i 's#asm/io.h#sys/io.h#' pxscan.c || return 1
30 mkdir -p $pkgdir/usr/bin
31 install -m 755 $srcdir/$pkgname-$pkgver/pxscan $pkgdir/usr/bin
34 # vim:set ts=2 sw=2 et: