2 _printername=${pkgname/*-/}
5 pkgdesc="CUPS driver for Brother DCP-165 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://www.brother.com/pub/bsc/linux/dlf/dcp165ccupswrapper-1.1.2-2.i386.rpm http://www.brother.com/pub/bsc/linux/dlf/dcp165clpr-1.1.2-2.i386.rpm)
12 md5sums=('0bf765de513b8d1e37567ecf2c04897e' '22a0932c6547a682af4a16fb86100614' )
13 #install=dcp165c.install
15 cd "$startdir/pkg" || return 1
16 for n in $startdir/src/*.rpm; do
17 rpmextract.sh "$n" || return 1
20 sed -i 's|/etc/init.d|/etc/rc.d|' $pkgdir/usr/local/Brother/Printer/dcp165c/cupswrapper/cupswrapperdcp165c