1 # Contributor: cdfk <cdfk1981-at-gmail.com>
3 pkgname=brother-lpr-drivers-ac
6 pkgdesc="This package provides all LPR drivers for models HL-4040CN HL-4040CDN HL-4050CDN HL-4070CDW MFC-9440CN MFC-9450CDN MFC-9840CDW DCP-9040CN DCP-9042CN DCP-9045CDN"
7 license=('GPL' 'custom:brother commercial license')
8 url="http://solutions.brother.com/linux/en_us/index.html"
10 [ $CARCH == "x86_64" ] && _a="amd64" && md5sums=(
11 'dcf91f4625af3abc7871859e2818fa65') && depends=('brother-lpr-drivers-common' 'a2ps' 'lib32-glibc')
12 [ $CARCH == "i686" ] && _a="i386" && md5sums=(
13 '814b9c79c125771b50fc4a43dd0c5d86') && depends=('brother-lpr-drivers-common' 'a2ps')
14 source=(http://mirrors.kernel.org/ubuntu/pool/multiverse/b/${pkgname}/${pkgname}_${pkgver}-1-0ubuntu1_${_a}.deb)
17 cd $srcdir || return 1
18 ar -x ${pkgname}_${pkgver}-1-0ubuntu1_${_a}.deb || return 1
19 cd $pkgdir || return 1
20 tar -xzf ${srcdir}/data.tar.gz || return 1