updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / brother-lpr-drivers-ac / PKGBUILD
blobf08728eac1bde401c50e90f9f9bde166fe750ffb
1 # Contributor: cdfk <cdfk1981-at-gmail.com>
3 pkgname=brother-lpr-drivers-ac
4 pkgver=1.0.3
5 pkgrel=1
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"
9 arch=('i686' 'x86_64')
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)
16 build() {
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