1 # Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
3 pkgname=brother-dcp7030
6 pkgdesc="brother cupd and lpd driver for DCP-7030"
8 url="http://solutions.brother.com/linux/en_us/index.html"
10 if [ "$(uname -m)" = "x86_64" ]
12 depends=('lib32-glibc' 'psutils')
16 noextract=(DCP7030.ppd.gz)
19 http://www.brother.com/pub/bsc/linux/dlf/cupswrapperDCP7030-$pkgver-$pkgrel.i386.deb
20 http://www.brother.com/pub/bsc/linux/dlf/brdcp7030lpr-$pkgver-$pkgrel.i386.deb
25 md5sums=('73919884cb19f9fb1a462c77aaa3477e'
26 '26b48edf27afe34d9847579cd81eb206'
27 '993574b2c9e9052ae8d823d5414d8585'
28 '7cb25cc78f001c18e591504db90fe20f')
29 sha256sums=('a9a4e0ec5f941cf17fcc7156febf8aff21673bc78a6313176527a0423847627d'
30 'cd4e6c4b16c5e734721068134699c65b2eca0584bc86031ee7eef7af05b36d8c'
31 '0320e1f19c3be746442b7c6324f0732b17928d2bb611ef143007f6ca0882765b'
32 'ff55d56e1d4488768cbe3ca843a26a284bd2988bd9dddf4a0f1d39c637929997')
36 mkdir -p $startdir/src/unpack || return 1
37 for i in $startdir/src/*.deb
39 cd $startdir/src/unpack
42 bsdtar xf $startdir/src/unpack/data.tar.gz || return 1
44 cat <<END >>$startdir/pkg/usr/local/Brother/inf/brDCP7030func || return 1
46 pstops=/usr/bin/pstops
49 install -d -m755 $startdir/pkg/usr/lib/cups/filter || return 1
50 install -d -m755 $startdir/pkg/usr/share/cups/model || return 1
51 install -D -m755 brlpdwrapperDCP7030 $startdir/pkg/usr/lib/cups/filter || return 1
52 install -D -m644 DCP7030.ppd.gz $startdir/pkg/usr/share/cups/model || return 1