summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-04-14 16:31:29 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-04-14 17:25:22 -0400
commit429a56d2612164ff9515c5fc7b6abbbc164db0dd (patch)
tree32cd55841e8145349377e828d6e5fcfbfbd61f2b
parent05d14541c707157e3bdb297e578ca1ffd5dcaede (diff)
libre/pacman: use _$CARCH variables instead of using an `if` block.
-rw-r--r--libre/pacman/PKGBUILD4
1 files changed, 1 insertions, 3 deletions
diff --git a/libre/pacman/PKGBUILD b/libre/pacman/PKGBUILD
index b7969083c..62ad57314 100644
--- a/libre/pacman/PKGBUILD
+++ b/libre/pacman/PKGBUILD
@@ -19,9 +19,7 @@ groups=('base' 'base-devel')
depends=('bash' 'glibc' 'libarchive' 'curl'
'gpgme' 'pacman-mirrorlist' 'archlinux-keyring'
'parabola-keyring')
-if [ "${CARCH}" = "armv7h" ]; then
- depends+=('archlinuxarm-keyring')
-fi
+depends_armv7h=('archlinuxarm-keyring')
makedepends=('asciidoc') # roundup patch alters docs
checkdepends=('python2' 'fakechroot')
optdepends=('cron: run specified programs at scheduled times and related tools')