1 # Contributor: Alessio Bianchi <venator85@gmail.com>
2 # Contributor: Jacek Roszkowski <j.roszk@gmail.com>
4 pkgname=brother-dcp365cn
7 pkgdesc="Driver for the Brother DCP-365CN networked multifuncional printer"
8 url="http://solutions.brother.com/linux/en_us/index.html"
9 license='custom:brother'
10 depends=('a2ps' 'cups')
11 makedepends=('rpmextract')
12 install="brother-dcp365cn.install"
13 arch=('i686' 'x86_64')
15 md5sums=('8a8c0d106515ecb67952597fb0097211'
16 'fed78a590420b8ce726c97ca748bf94e'
17 '368d72e0ac3ee8c94098d657f307726d')
21 "http://pub.brother.com/pub/com/bsc/linux/dlf/dcp365cnlpr-$pkgver-1.i386.rpm" \
22 "http://pub.brother.com/pub/com/bsc/linux/dlf/dcp365cncupswrapper-$pkgver-2.i386.rpm"
29 rpmextract.sh "$i" || return 1
31 patch -Np0 < ../fix_lp.patch || return 1
32 cp -r usr/ ../pkg/ || return 1
33 mkdir -p ../pkg/var/spool/lpd/dcp365cn