aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryanpcmcquen@gmail.com>2014-03-20 00:03:41 +0700
committerErik Hanson <erik@slackbuilds.org>2014-03-21 13:01:21 -0500
commit6904d3dc021761b8b7e04a5b1e53026c85b5c92e (patch)
tree55248546c63f2aa0670c007788a68c442d0bd0e9
parente87197ddd2a37c6e7f34e250941019e6a4e981dc (diff)
development/brackets: Updated for version 37.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/brackets/brackets.SlackBuild22
-rw-r--r--development/brackets/brackets.info10
2 files changed, 12 insertions, 20 deletions
diff --git a/development/brackets/brackets.SlackBuild b/development/brackets/brackets.SlackBuild
index 245d0d7957791..36aca9989813b 100644
--- a/development/brackets/brackets.SlackBuild
+++ b/development/brackets/brackets.SlackBuild
@@ -21,8 +21,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PKGNAM=brackets
-RELEASE=sprint
-VERSION=${VERSION:-36}
+SRCNAM=Brackets
+RELEASE=Sprint
+VERSION=${VERSION:-37}
# 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
@@ -30,23 +31,14 @@ VERSION=${VERSION:-36}
ARCH=${ARCH:-$(uname -m)}
case "$ARCH" in
- i?86) DEBARCH="LINUX32" ; LIBDIRSUFFIX="" ; ARCH=i386 ;;
- x86_64) DEBARCH="LINUX64" ; LIBDIRSUFFIX="64" ; ARCH=x86_64 ;;
+ i?86) DEBARCH="32-bit" ; LIBDIRSUFFIX="" ; ARCH=i386 ;;
+ x86_64) DEBARCH="64-bit" ; LIBDIRSUFFIX="64" ; ARCH=x86_64 ;;
*) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
esac
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-if [ ! $UID = 0 ]; then
- cat << EOF
-
-This script must be run as root.
-
-EOF
- exit 1
-fi
-
set -e
CWD=$(pwd)
@@ -57,7 +49,7 @@ OUTPUT=${OUTPUT:-/tmp}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-ar p $CWD/brackets-${RELEASE}-${VERSION}-${DEBARCH}.deb data.tar.gz | tar xzv
+ar p $CWD/${SRCNAM}.${RELEASE}.${VERSION}.${DEBARCH}.deb data.tar.gz | tar xzv
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -79,4 +71,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$RELEASE-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/brackets/brackets.info b/development/brackets/brackets.info
index e189b4ca47496..19f99e9837213 100644
--- a/development/brackets/brackets.info
+++ b/development/brackets/brackets.info
@@ -1,10 +1,10 @@
PRGNAM="brackets"
-VERSION="36"
+VERSION="37"
HOMEPAGE="http://brackets.io"
-DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/brackets/36/brackets-sprint-36-LINUX32.deb"
-MD5SUM="81c0e96df65cf3962f87527c76df6661"
-DOWNLOAD_x86_64="http://sourceforge.net/projects/slackbuildsdirectlinks/files/brackets/36/brackets-sprint-36-LINUX64.deb"
-MD5SUM_x86_64="9c2a0db0cdaaf0d6bcbda90cb0a60504"
+DOWNLOAD="https://github.com/adobe/brackets/releases/download/sprint-37/Brackets.Sprint.37.32-bit.deb"
+MD5SUM="8f9e2511be9d36f3e31518aef32b0655"
+DOWNLOAD_x86_64="https://github.com/adobe/brackets/releases/download/sprint-37/Brackets.Sprint.37.64-bit.deb"
+MD5SUM_x86_64="444531be0ac691d111f9ebf441e7dc9e"
REQUIRES=""
MAINTAINER="Ryan P.C. McQuen"
EMAIL="ryan.q@linux.com"