development/brackets: Updated for version 40.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Ryan P.C. McQuen 2014-06-08 08:03:14 +07:00 committed by Willy Sudiarto Raharjo
parent 6c61a555f8
commit f15ccd26ab
2 changed files with 10 additions and 14 deletions

View File

@ -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 \

View File

@ -1,10 +1,10 @@
PRGNAM="brackets"
VERSION="39"
VERSION="40"
HOMEPAGE="http://brackets.io"
DOWNLOAD="https://github.com/adobe/brackets/releases/download/sprint-39/Brackets.Sprint.39.32-bit.deb"
MD5SUM="7aaf5978433e7628284e84ab5a519884"
DOWNLOAD_x86_64="https://github.com/adobe/brackets/releases/download/sprint-39/Brackets.Sprint.39.64-bit.deb"
MD5SUM_x86_64="4e00cb8c5670bf8ea3081decb78e9cea"
DOWNLOAD="https://github.com/adobe/brackets/releases/download/sprint-40/Brackets.Sprint.40.32-bit.deb"
MD5SUM="e6ef3a346139af568ad78e1393eb442b"
DOWNLOAD_x86_64="https://github.com/adobe/brackets/releases/download/sprint-40/Brackets.Sprint.40.64-bit.deb"
MD5SUM_x86_64="e6046e0f799dec191e64ad0a5f1c9a21"
REQUIRES=""
MAINTAINER="Ryan P.C. McQuen"
EMAIL="ryan.q@linux.com"