diff options
author | Andreas Schreiner | 2015-10-15 23:09:45 +0200 |
---|---|---|
committer | Andreas Schreiner | 2015-10-15 23:09:45 +0200 |
commit | 7a2b41f5b19bb1d182cba3d8557ad40f6a204ff0 (patch) | |
tree | e4c5cafa2d7a77dd3f32df775929706c0553ede6 | |
parent | 9a2b8b7eb3779593ef3c8470b99229799839ac95 (diff) | |
download | aur-7a2b41f5b19bb1d182cba3d8557ad40f6a204ff0.tar.gz |
Add 32bit dependencies for amd64 systems
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 5 deletions
@@ -1,14 +1,12 @@ pkgbase = brother-mfc-9140cdn pkgdesc = LPR and CUPS driver for the Brother MFC-9140CDN pkgver = 1.1.2 - pkgrel = 1 + pkgrel = 2 url = http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html install = brother-mfc-9140cdn.install arch = i686 arch = x86_64 license = unknown - depends = deb2targz - depends = perl source = http://download.brother.com/welcome/dlf100405/mfc9140cdnlpr-1.1.2-1.i386.deb source = http://download.brother.com/welcome/dlf100407/mfc9140cdncupswrapper-1.1.2-1.i386.deb sha256sums = 90eae54a7201c369ddc6c3999af24c9c8de7b2c72061ba0773e8809da5451df3 @@ -1,14 +1,18 @@ model="9140cdn" pkgname="brother-mfc-$model" pkgver="1.1.2" -pkgrel=1 +pkgrel=2 _revision=1 pkgdesc="LPR and CUPS driver for the Brother MFC-9140CDN" url="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html" arch=('i686' 'x86_64') license='unknown' install="brother-mfc-${model}.install" -depends=('deb2targz' 'perl') +if [ "$CARCH" == 'i686' ]; then + depends=('deb2targz' 'perl') +elif [ "$CARCH" == 'x86_64' ]; then + depends=('deb2targz' 'perl' 'lib32-libcups') +fi source=("http://download.brother.com/welcome/dlf100405/mfc${model}lpr-${pkgver}-${_revision}.i386.deb" "http://download.brother.com/welcome/dlf100407/mfc${model}cupswrapper-${pkgver}-${_revision}.i386.deb") sha256sums=('90eae54a7201c369ddc6c3999af24c9c8de7b2c72061ba0773e8809da5451df3' |