blob: 4213f50372cb23c85248a2285b5cd6c83e147b6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Contributor: Bernhard Jaud <itsme+aur at genuineparts dot org>
# This uses modified code from package brother-mfc-9335cdn by Leo Pham <regretfulumbrella at gmail dot com>
pkgname=brother-mfc-l3760cdw
pkgver=3.5.1
pkgrel=0
pkgdesc='LPR and CUPS drivers for the Brother MFC-L3760CDW'
arch=('i686' 'x86_64')
options=('!debug')
url='http://support.brother.com/g/s/id/linux/en/index.html'
license=('custom:brother' 'GPL')
depends=('cups')
if [[ $CARCH = x86_64 ]]; then
depends+=('lib32-expat' 'lib32-gcc-libs')
fi
makedepends=('perl' 'tar')
install='brother-mfc-l3760cdw.install'
source=('https://download.brother.com/welcome/dlf105762/mfcl3760cdwpdrv-3.5.1-1.i386.deb')
md5sums=('a5fb3394dc1b7f0b9aec16ffdbaf5100')
package() {
ar x mfcl3760cdwpdrv-3.5.1-1.i386.deb && tar xzvf data.tar.gz
# Patch filenames to work on Arch
cd opt/brother/Printers/mfcl3760cdw
#perl -i -pe 's#/etc/init.d#/etc/rc.d#g' ./cupswrapper/cupswrappermfcl3760cdw
perl -i -pe 's#printcap\.local#printcap#g' ./inf/setupPrintcapij
cp -rf $srcdir/opt/ $pkgdir/
}
|