diff options
author | Ryan P.C. McQuen <ryanpcmcquen@gmail.com> | 2014-06-08 08:03:14 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-06-12 06:51:42 +0700 |
commit | f15ccd26abe63d3c08a16e772e92cf0ee91a8aa7 (patch) | |
tree | 37a0242b999e70722794ffa011fc7f665784b877 /development/brackets/brackets.SlackBuild | |
parent | 6c61a555f8d59f7240473e9712d6987f581a09c4 (diff) | |
download | slackbuilds-f15ccd26abe63d3c08a16e772e92cf0ee91a8aa7.tar.gz |
development/brackets: Updated for version 40.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/brackets/brackets.SlackBuild')
-rw-r--r-- | development/brackets/brackets.SlackBuild | 14 |
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 \ |