1 # Contributor: Swift Geek <swiftgeek@gmail.com>
3 pkgname=brother-dcpj125
7 pkgdesc="CUPS driver for Brother DCP-J125 printer"
9 license=('custom:Brother Industries')
10 depends=('cups' 'tcsh')
11 makedepends=('rpmextract')
12 url="http://solutions.brother.com/linux/en_us/index.html"
13 source=(http://www.brother.com/pub/bsc/linux/dlf/${_printername}cupswrapper-$pkgver-1.i386.rpm \
14 http://www.brother.com/pub/bsc/linux/dlf/${_printername}lpr-$pkgver-1.i386.rpm)
15 md5sums=('9c34e1e1adc8a407c760733d71afbc1e'
16 '89f80266ee645dfa9c2a4d18b145e67e')
17 install=dcpj125.install
19 cd "$startdir/pkg" || return 1
20 for n in $startdir/src/*.rpm; do
21 rpmextract.sh "$n" || return 1
24 sed -i 's|/etc/init.d/cups|/etc/rc.d/cupsd|' $pkgdir/opt/brother/Printers/dcpj125/cupswrapper/cupswrapperdcpj125