1 # Contributor: Pavel Benak <pavel.benak@uhk.cz>
3 pkgname=brother-dcp9010cn
6 pkgdesc="Brother cups and lpd driver for DCP-9010CN"
8 url="http://solutions.brother.com/linux/en_us/index.html"
10 if [ "$(uname -m)" = "x86_64" ]
12 depends=('lib32-glibc' 'psutils')
16 noextract=(DCP7010.ppd.gz)
19 http://www.brother.com/pub/bsc/linux/dlf/dcp9010cncupswrapper-$pkgver-$pkgrel.i386.deb
20 http://www.brother.com/pub/bsc/linux/dlf/dcp9010cnlpr-$pkgver-$pkgrel.i386.deb
24 md5sums=('f8fbdc819c5ed1d54fdfe0da24e2939d'
25 '6b24a542b9d2f755d43cf0e6c91101ad'
26 '3ba6c4dd55eb15f918741f4ad102570f')
30 mkdir -p $startdir/src/unpack || return 1
31 for i in $startdir/src/*.deb
33 cd $startdir/src/unpack
36 bsdtar xf $startdir/src/unpack/data.tar.gz || return 1
40 install -d -m755 $startdir/pkg/usr/share/cups/model || return 1
41 install -d -m755 $startdir/pkg/usr/lib/cups/filter || return 1
42 install -D -m644 $startdir/pkg/usr/local/Brother/Printer/dcp9010cn/cupswrapper/dcp9010cn.ppd $startdir/pkg/usr/share/cups/model || return 1
43 install -D -m755 brlpdwrapperdcp9010cn $startdir/pkg/usr/lib/cups/filter || return 1