summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schreiner2015-10-15 23:09:45 +0200
committerAndreas Schreiner2015-10-15 23:09:45 +0200
commit7a2b41f5b19bb1d182cba3d8557ad40f6a204ff0 (patch)
treee4c5cafa2d7a77dd3f32df775929706c0553ede6
parent9a2b8b7eb3779593ef3c8470b99229799839ac95 (diff)
downloadaur-7a2b41f5b19bb1d182cba3d8557ad40f6a204ff0.tar.gz
Add 32bit dependencies for amd64 systems
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 195a60a246bc..fd44c46b77dc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index bab1f878864b..a2da2b4cfe54 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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'