summaryrefslogtreecommitdiff
path: root/dropbox/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-13 21:01:44 +0200
committerErich Eckner <git@eckner.net>2019-04-13 21:01:44 +0200
commitd8d93f8105ff462f0e89f0df69a1d498f000f8f2 (patch)
tree1a2012b3511bb3095e72784b94e01d7651315d64 /dropbox/PKGBUILD
parent77b0dc3a9164b5beac463f4277f975b372766dff (diff)
downloadarchlinuxewe.git.save-d8d93f8105ff462f0e89f0df69a1d498f000f8f2.tar.xz
dropbox: fix "build" for pentium4
Diffstat (limited to 'dropbox/PKGBUILD')
-rw-r--r--dropbox/PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/dropbox/PKGBUILD b/dropbox/PKGBUILD
index 61f3ba98..39847703 100644
--- a/dropbox/PKGBUILD
+++ b/dropbox/PKGBUILD
@@ -35,7 +35,11 @@ sha512sums_pentium4=('fa017da1109f4f81ddc4747af6c20cab5213b99c323a28d8e63eedc7bd
sha512sums_x86_64=('5537aea2459a2f86dbc7e9664a0ab9884d1e78a836d2bdc505441c64c9fa0c2d566c02fa618278dff7a817587b135b6c6242bebd580f9457786bfe100d0cfeaa')
package() {
- _source_arch="${CARCH/i6/x}"
+ if [ "${CARCH}" = 'i686' ] || [ "${CARCH}" = 'pentium4' ]; then
+ _source_arch=x86
+ else
+ _source_arch="${CARCH}"
+ fi
install -d "$pkgdir"/opt
cp -R "$srcdir"/.dropbox-dist/dropbox-lnx.$_source_arch-$pkgver "$pkgdir"/opt/dropbox