summaryrefslogtreecommitdiff
path: root/development/brackets/brackets.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/brackets/brackets.SlackBuild')
-rw-r--r--development/brackets/brackets.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/development/brackets/brackets.SlackBuild b/development/brackets/brackets.SlackBuild
index f49950ebd3..07afafc106 100644
--- a/development/brackets/brackets.SlackBuild
+++ b/development/brackets/brackets.SlackBuild
@@ -2,13 +2,13 @@
# Slackware build script for brackets
-# Ryan P.C. McQuen, WA, ryan.q@linux.com
+# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version, with the following exception:
-# the text of the GPL license may be omitted..
+# the text of the GPL license may be omitted.
# This program is distributed in the hope that it will be useful, but
# without any warranty; without even the implied warranty of
@@ -25,7 +25,7 @@
PRGNAM=brackets
SRCNAM=Brackets
RELEASE=Sprint
-VERSION=${VERSION:-39}
+VERSION=${VERSION:-40}
# Allow $ARCH to be preset before running the script. This is useful in the
# case where someone is running a 32-bit chroot environment under an x86_64
@@ -38,7 +38,7 @@ case "$ARCH" in
*) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
esac
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
set -e
@@ -51,11 +51,7 @@ OUTPUT=${OUTPUT:-/tmp}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-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
+ar p $CWD/${SRCNAM}.${RELEASE}.${VERSION}.${DEBARCH}.deb data.tar.xz | tar xJv
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \