2 _printername=${pkgname/*-/}
5 pkgdesc="CUPS driver for Brother DCP-130C printer"
7 license=('custom:Brother Industries')
8 depends=('cups' 'tcsh')
9 makedepends=('rpmextract')
10 url="http://solutions.brother.com/linux/en_us/index.html"
11 source=(http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/${_printername}cupswrapper-$pkgver-$pkgrel.i386.rpm \
12 http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_others/${_printername}lpr-$pkgver-$pkgrel.i386.rpm)
13 md5sums=('fefbc571a5d75673233ce3a65ae26e68'
14 '752d1cd03483cc2137f92b3481693bb0')
15 install=dcp130c.install
17 cd "$startdir/pkg" || return 1
18 for n in $startdir/src/*.rpm; do
19 rpmextract.sh "$n" || return 1
22 sed -i 's|/etc/init.d|/etc/rc.d|' $pkgdir/usr/local/Brother/Printer/dcp130c/cupswrapper/cupswrapperdcp130c