summaryrefslogtreecommitdiff
path: root/dropbox/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-01 14:04:37 +0200
committerErich Eckner <git@eckner.net>2017-08-01 14:07:22 +0200
commit25a90081a63c811d4bb9bb5d85546cdef636ab81 (patch)
treee4de77a97c5b6ae80ff51c0a4d8ad4b2f98d3f38 /dropbox/PKGBUILD
parent1813f8bb9d482fef20488a6a520ab4e8bf27ea69 (diff)
downloadarchlinuxewe-25a90081a63c811d4bb9bb5d85546cdef636ab81.tar.xz
silence namcap warnings with dirty hacks
Diffstat (limited to 'dropbox/PKGBUILD')
-rw-r--r--dropbox/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/dropbox/PKGBUILD b/dropbox/PKGBUILD
index ac1500301..79a030c0f 100644
--- a/dropbox/PKGBUILD
+++ b/dropbox/PKGBUILD
@@ -19,8 +19,9 @@ conflicts=("dropbox-experimental")
options=('!strip' '!upx')
source=("dropbox.png" "dropbox.desktop" "terms.txt" "dropbox.service" "dropbox@.service")
-source_i686=("https://d1ilhw0800yew8.cloudfront.net/client/${pkgname}-lnx.x86-${pkgver}.tar.gz")
-source_x86_64=("https://d1ilhw0800yew8.cloudfront.net/client/${pkgname}-lnx.x86_64-${pkgver}.tar.gz")
+for _target_arch in 'i6:' 'x:_64'; do
+ eval 'source_'"${_target_arch/:/86}"'=("https://d1ilhw0800yew8.cloudfront.net/client/${pkgname}-lnx.x86'"${_target_arch#*:}"'-${pkgver}.tar.gz")'
+done
sha512sums=('b1a2ca11479c9f243c0368d79b36ef87910311af2dd126a3291438083544ed10a640143a58e73be1d27bf016c114e668ea504ed6eed6955370bfcac309e5fb7d'
'690c934012a897771ed82115912fc49a81c9b1ba7ac6a6067c733b4693c9c112b1e4c808319068a2adce7b38c2cf23d3befb8ab41259b1c5280cbe8ee468c15c'