1 # Contributor: ZeroCool <trash4you(at)online(dot).de>
4 _sourcebase="http://pub.brother.com/pub/com/bsc/linux/dlf/"
7 pkgdesc="CUPS driver for Brother DCP-110C printer"
8 arch=('i686', 'x86_64')
9 license=('custom:Brother Industries')
10 if [ "$CARCH" = "x86_64" ]; then
11 depends=('cups' 'sed' 'tcsh' 'lib32-libcups' 'ghostscript' 'gsfonts' 'foomatic-filters')
13 depends=('cups' 'sed' 'tcsh' 'ghostscript' 'gsfonts' 'foomatic-filters')
15 makedepends=('rpmextract')
16 url="http://solutions.brother.com/linux/en_us/index.html"
17 source=("${_sourcebase}cupswrapper${_printername}-1.0.0-$pkgrel.i386.rpm"
18 "${_sourcebase}${_printername}lpr-$pkgver-$pkgrel.i386.rpm")
19 md5sums=('f3b7e05232838ac2eaa008f0a6d74c4f'
20 '5b51032a121f9c2e8cd2271c517e5eb7')
21 install=${pkgname}.install
23 cd "$startdir/pkg" || return 1
25 for n in $startdir/src/*.rpm; do
26 rpmextract.sh "$n" || return 1
29 sed -i 's|/etc/init.d|/etc/rc.d|' $pkgdir/usr/local/Brother/cupswrapper/cupswrapperDCP110C-1.0.0