1 # Maintainer: Eric Anschuetz <ericanschuetz@yahoo.com>
2 pkgname=brother-mfc295cn
5 pkgdesc="Driver for the Brother MFC-295CN network printer"
6 url="http://solutions.brother.com/linux/en_us/index.html"
7 license=('custom:brother')
9 if [ $CARCH == "x86_64" ]; then
10 depends=('lib32-libcups' 'a2ps' 'psutils')
12 depends=('a2ps' 'psutils')
15 makedepends=('rpmextract')
16 arch=('i686' 'x86_64')
18 http://www.brother.com/pub/bsc/linux/dlf/mfc295cnlpr-1.1.2-1.i386.rpm
19 http://www.brother.com/pub/bsc/linux/dlf/mfc295cncupswrapper-1.1.2-2.i386.rpm
21 md5sums=('83bdcf5533633c2883595cb87c31773e'
22 'ca3fbf051094445db430261c069a1837')
28 rpmextract.sh "$i" || return 1
30 sed -i 's|/etc/init.d|/etc/rc.d|' usr/local/Brother/Printer/mfc295cn/cupswrapper/cupswrappermfc295cn
35 cp -r $srcdir/* $pkgdir || return 1