summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryanpcmcquen@gmail.com>2014-05-19 08:59:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-19 11:01:57 +0700
commit26049c64b420c53cb656771c84d38cf28cb836ca (patch)
treec8401b806eed2be981efd1cfbe4723e2d8e6039a
parentec3b7567e7360f133c97bf949482cf498f908c3b (diff)
downloadslackbuilds-26049c64b420c53cb656771c84d38cf28cb836ca.tar.gz
development/brackets: Updated for version 39.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/brackets/brackets.SlackBuild60
-rw-r--r--development/brackets/brackets.info10
2 files changed, 36 insertions, 34 deletions
diff --git a/development/brackets/brackets.SlackBuild b/development/brackets/brackets.SlackBuild
index 8a9e34e9de..25a58e3ec8 100644
--- a/development/brackets/brackets.SlackBuild
+++ b/development/brackets/brackets.SlackBuild
@@ -1,29 +1,31 @@
#!/bin/sh
-# Copyright 2014 Ryan P.C. McQuen
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PKGNAM=brackets
+# Slackware build script for brackets
+
+# Ryan P.C. McQuen, 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..
+
+# This program is distributed in the hope that it will be useful, but
+# without any warranty; without even the implied warranty of
+# merchantability or fitness for a particular purpose. Compiling,
+# interpreting, executing or merely reading the text of the program
+# may result in lapses of consciousness and/or very being, up to and
+# including the end of all existence and the Universe as we know it.
+# See the GNU General Public License for more details.
+
+# You may have received a copy of the GNU General Public License
+# along with this program (most likely, a file named COPYING). If
+# not, see <http://www.gnu.org/licenses/>.
+
+PRGNAM=brackets
SRCNAM=Brackets
RELEASE=Sprint
-VERSION=${VERSION:-38}
+VERSION=${VERSION:-39}
# 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
@@ -43,7 +45,7 @@ set -e
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PKGNAM
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
rm -rf $PKG
@@ -53,7 +55,7 @@ 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 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
@@ -61,14 +63,14 @@ find -L . \
chmod 0755 .
# Install a .desktop launcher:
-sed -i -e "s#Icon=brackets#Icon=/opt/brackets/appshell256.png#" \
- $PKG/opt/brackets/brackets.desktop
+sed -i -e "s#Icon=$PRGNAM#Icon=/opt/$PRGNAM/appshell256.png#" \
+ $PKG/opt/$PRGNAM/$PRGNAM.desktop
mkdir -p $PKG/usr/share/applications
-ln -s /opt/brackets/brackets.desktop \
- $PKG/usr/share/applications/brackets.desktop
+ln -s /opt/$PRGNAM/$PRGNAM.desktop \
+ $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/brackets/brackets.info b/development/brackets/brackets.info
index bd13bc8cd4..6a325a1876 100644
--- a/development/brackets/brackets.info
+++ b/development/brackets/brackets.info
@@ -1,10 +1,10 @@
PRGNAM="brackets"
-VERSION="38"
+VERSION="39"
HOMEPAGE="http://brackets.io"
-DOWNLOAD="https://github.com/adobe/brackets/releases/download/sprint-38/Brackets.Sprint.38.32-bit.deb"
-MD5SUM="45d4a4ceb8bcfdf9e29b94269b18feb4"
-DOWNLOAD_x86_64="https://github.com/adobe/brackets/releases/download/sprint-38/Brackets.Sprint.38.64-bit.deb"
-MD5SUM_x86_64="5121af7efc3b0512426d762fc2c2d910"
+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"
REQUIRES=""
MAINTAINER="Ryan P.C. McQuen"
EMAIL="ryan.q@linux.com"