1 # Contributor: Jan Hrdina <jan.hrdka@gmail.com>
4 _printername=${pkgname/*-/}
7 pkgdesc="CUPS driver for Brother DCP-135C 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=('82477f63f298bca32374450de6393270'
16 '395026a5438b03be521d309f38b4132b')
17 install=dcp135c.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|/etc/rc.d|' $pkgdir/usr/local/Brother/Printer/dcp135c/cupswrapper/cupswrapperdcp135c