From 1c9630396a80726691a572adccb24b1612ff2c43 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 4 Jun 2014 05:57:40 +0700 Subject: development/brackets: Fix build on x86. Signed-off-by: Willy Sudiarto Raharjo --- development/brackets/brackets.SlackBuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'development') diff --git a/development/brackets/brackets.SlackBuild b/development/brackets/brackets.SlackBuild index 25a58e3ec83e..f49950ebd310 100644 --- a/development/brackets/brackets.SlackBuild +++ b/development/brackets/brackets.SlackBuild @@ -38,7 +38,7 @@ case "$ARCH" in *) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;; esac -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} set -e @@ -51,7 +51,11 @@ OUTPUT=${OUTPUT:-/tmp} rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $PKG -ar p $CWD/${SRCNAM}.${RELEASE}.${VERSION}.${DEBARCH}.deb data.tar.gz | tar xzv +if [ "$ARCH" = "x86_64" ]; then + ar p $CWD/${SRCNAM}.${RELEASE}.${VERSION}.${DEBARCH}.deb data.tar.gz | tar xzv +else + ar p $CWD/${SRCNAM}.${RELEASE}.${VERSION}.${DEBARCH}.deb data.tar.xz | unxz | tar xv +fi chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -- cgit v1.2.3