updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / pxscan / PKGBUILD
blob86bc002e23c9551eefbbfecdf550f2f8151e5804
1 # Contributor: Dieter Plaetinck <dieter@plaetinck.be>
2 pkgname=pxscan
3 pkgver=0.41
4 pkgrel=1
5 pkgdesc="Linux driver for the Primax Colorado Direct 9600 scanner and other scanners based on the 'E3' ASIC"
6 arch=(i686)
7 url="http://home2.swipnet.se/~w-25069/pxscan.html"
8 license=('unknown') 
9 groups=()
10 depends=(libtiff)
11 makedepends=(libtiff)
12 provides=()
13 conflicts=()
14 replaces=()
15 backup=()
16 options=()
17 install=
18 source=("http://home2.swipnet.se/%7Ew-25069/$pkgname-$pkgver.tgz")
19 noextract=()
20 md5sums=('4b96a5854f649a743f94c2cc5030e73c')
22 build() {
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
28   make || return 1
29   cd -
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: