1 # Contributor: Roman Abreu <romanlx at gmail.com>
3 _casepkgname=iP1500Linux
6 pkgdesc="Printer driver for Canon Pixma ip1500"
8 url="http://www.canon.com/"
10 depends=('rpmextract' 'hplip' 'foomatic' 'ghostscript')
11 source=(http://software.canon-europe.com/files/soft22415/software/${_casepkgname}.tar.gz)
12 md5sums=('a77599e93a334107eb003e656ff6893b')
14 cd $startdir/src/iP1500
15 rpmextract.sh bjfilter-common-2.50-2.src.rpm
16 tar xvf bjfilter-common-2.50-2.tar.gz
17 cd bjfilter-common-2.50
18 mkdir -p $startdir/pkg/usr/share/cups/model
19 cp ppd/canonpixmaip1500.ppd $startdir/pkg/usr/share/cups/model
20 mkdir -p $startdir/pkg/usr/lib/bjlib
21 cp 214/database/* $startdir/pkg/usr/lib/bjlib
22 cp -a 214/libs_bin/* $startdir/pkg/usr/lib
25 ./autogen.sh --prefix=$startdir/pkg/usr/local
31 ./autogen.sh --prefix=$startdir/pkg/usr/local --program-suffix=pixmaip1500
37 mkdir -p $startdir/pkg/usr/lib/cups/filter/
38 ./autogen.sh --prefix=$startdir/pkg/usr/local
42 cp $startdir/src/iP1500/bjfilter-common-2.50/pstocanonbj/filter/pstocanonbj $startdir/pkg/usr/lib/cups/filter/