summaryrefslogtreecommitdiff
path: root/dropbox/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-05-30 20:26:47 +0200
committerErich Eckner <git@eckner.net>2016-05-30 20:26:47 +0200
commitb9d0389831f00b4a0016093159416486641b1252 (patch)
tree965e64263b37657b708aed8f5c3c69be7341d27d /dropbox/PKGBUILD
parentc98c1f0f7f17bac2bad1d1e188a242c05b73d9d3 (diff)
downloadarchlinuxewe-b9d0389831f00b4a0016093159416486641b1252.tar.xz
dropbox CARCH-Referenz
Diffstat (limited to 'dropbox/PKGBUILD')
-rw-r--r--dropbox/PKGBUILD6
1 files changed, 1 insertions, 5 deletions
diff --git a/dropbox/PKGBUILD b/dropbox/PKGBUILD
index 11137fe52..0bbed8fd1 100644
--- a/dropbox/PKGBUILD
+++ b/dropbox/PKGBUILD
@@ -31,11 +31,7 @@ sha512sums_i686=('f7e1b04bc1b5c90175b56a33b5c414cb3d5845acccb58d6614c95c9b0a0889
sha512sums_x86_64=('01898af0a59f8fabe2d1f7512d96157411550e81f8cfc2f250ec0eeac1e93ad77efdee053c449c1384d70ba3fa52e97aa3ffaac8cb546e369afa2a516f12820d')
package() {
- if [ "$CARCH" = "x86_64" ]; then
- _source_arch="x86_64"
- else
- _source_arch="x86"
- fi
+ _source_arch="${CARCH/i6/x}"
install -d "$pkgdir"/opt
cp -R "$srcdir"/.dropbox-dist/dropbox-lnx.$_source_arch-$pkgver "$pkgdir"/opt/dropbox