summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Wieczorek2016-04-21 00:40:23 +0200
committerMarcin Wieczorek2016-04-21 00:40:23 +0200
commit424287376c3fc1765cd304671d275f113d8aaabd (patch)
treec544341827afebc0459778555fc2a6b47489d6a8
parent93b6d9369e4b3b2ed4cf9cdb2ff989a4c9090693 (diff)
downloadaur-424287376c3fc1765cd304671d275f113d8aaabd.tar.gz
Fix architecture detection
-rwxr-xr-xPKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 871a37da85e..fe8593d71a6 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,17 +13,17 @@ makedepends=('git' 'gulp' 'npm')
source=("$pkgname::git+https://github.com/Sytten/Facebook-Messenger-Desktop.git")
md5sums=('SKIP')
+if [ $(uname -m) == "i686" ]
+ then
+ _arch="linux32"
+else
+ _arch="linux64"
+fi
+
build() {
cd $pkgname
npm install
- if [ $(uname -m) == "i686" ]
- then
- _arch="linux32"
- else
- _arch="linux64"
- fi
-
gulp build:${_arch}
}