summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Band2016-07-28 01:42:42 +0200
committerRicardo Band2016-07-28 01:42:42 +0200
commit07051f69e0ec892fa716d2463310967aff620fb6 (patch)
tree50a26e0d85e9d1c4ccc73258603ebd0fd2a9955e
parentff0bc963e4f242f4777b03e4843f9c263bf3bfd2 (diff)
downloadaur-07051f69e0ec892fa716d2463310967aff620fb6.tar.gz
added lib32-glibc as a dependency for x64
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD8
2 files changed, 9 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b4df459b5129..85129188f960 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,14 @@
+# Generated by mksrcinfo v8
+# Wed Jul 27 23:41:55 UTC 2016
pkgbase = brother-dcp-9022cdw
pkgdesc = LPR and CUPS driver for the Brother DCP-9022CDW
pkgver = 1.1.3
- pkgrel = 1
+ pkgrel = 2
url = http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html
install = brother-dcp-9022cdw.install
arch = i686
arch = x86_64
license = unknown
- depends = tcsh
- depends = deb2targz
- depends = perl
- depends = a2ps
source = http://download.brother.com/welcome/dlf101612/dcp9022cdwlpr-1.1.3-0.i386.deb
source = http://download.brother.com/welcome/dlf101613/dcp9022cdwcupswrapper-1.1.3-0.i386.deb
sha256sums = 8db48cda7e8f38f6a9fe0279f67e6d286a300f41e7982d1be275113542ec5027
diff --git a/PKGBUILD b/PKGBUILD
index 6309d2359223..6346788bcf2a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,14 +3,18 @@
_model="9022cdw"
pkgname="brother-dcp-$_model"
pkgver="1.1.3"
-pkgrel=1
+pkgrel=2
_revision=0
pkgdesc="LPR and CUPS driver for the Brother DCP-9022CDW"
url="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html"
arch=('i686' 'x86_64')
license=('unknown')
install="brother-dcp-${_model}.install"
-depends=('tcsh' 'deb2targz' 'perl' 'a2ps')
+if [[ "$CARCH" == "x86_64" ]] ; then
+ depends=('tcsh' 'deb2targz' 'perl' 'a2ps' 'lib32-glibc')
+elif [[ "$CARCH" == "i686" ]] ; then
+ depends=('tcsh' 'deb2targz' 'perl' 'a2ps')
+fi
source=("http://download.brother.com/welcome/dlf101612/dcp${_model}lpr-${pkgver}-${_revision}.i386.deb"
"http://download.brother.com/welcome/dlf101613/dcp9022cdwcupswrapper-1.1.3-0.i386.deb")
sha256sums=('8db48cda7e8f38f6a9fe0279f67e6d286a300f41e7982d1be275113542ec5027'