summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBehnam Momeni2015-06-24 21:17:31 +0430
committerBehnam Momeni2015-06-24 21:17:31 +0430
commit4e74cb33131e9a5908851044f643481ebd2c4050 (patch)
tree57753a3d8ec514e59d305a6e88d106536caebb36 /PKGBUILD
parent9f2dd14e16c5bc0a84c76c0e1e6be2cdf774ea26 (diff)
downloadaur-4e74cb33131e9a5908851044f643481ebd2c4050.tar.gz
Using architecture specific vars for indicating dependencies
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e8844dfcaec..c3c928be93a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=('cnijfilter-mp550')
_pkgname=cnijfilter
pkgver=3.20
-pkgrel=9
+pkgrel=10
_pkgreview=1
pkgdesc="Canon IJ Printer Driver (For Multifunction MP550 series)"
@@ -14,14 +14,14 @@ url="http://www.canon-europe.com/Support/Consumer_Products/products/Fax__Multifu
arch=('i686' 'x86_64')
license=('custom')
-if [ "${CARCH}" = 'x86_64' ]; then
- makedepends=('gcc-multilib' 'lib32-popt')
- depends=('lib32-gtk2' 'lib32-libxml2' "${_pkgname}-common=${pkgver}")
-elif [ "${CARCH}" = 'i686' ]; then
- makedepends=('gcc' 'popt')
- depends=('gtk2' 'libxml2' "${_pkgname}-common=${pkgver}")
-fi
-makedepends+=('autoconf>=2.13' 'automake>=1.6' 'tar' 'make')
+makedepends_x86_64=('gcc-multilib' 'lib32-popt')
+depends_x86_64=('lib32-gtk2' 'lib32-libxml2')
+
+makedepends_i686=('gcc' 'popt')
+depends_i686=('gtk2' 'libxml2')
+
+makedepends=('autoconf>=2.13' 'automake>=1.6' 'tar' 'make')
+depends=("${_pkgname}-common=${pkgver}")
install=cnijfilter-mp550.install