summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryanpcmcquen@gmail.com>2014-07-02 06:32:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-07-03 19:23:13 +0700
commit29ff4bcb7e9b445ee3abe04fb2eb7fefb9b9981c (patch)
treead5ee92baddcbaca6a8ac3d2fffbba0c452065c0 /development
parent0a5a14fdb9f2ef2d77ada62162ef6ebc2ffe77eb (diff)
downloadslackbuilds-29ff4bcb7e9b445ee3abe04fb2eb7fefb9b9981c.tar.gz
development/brackets: Updated for version 0.41.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/brackets/brackets.SlackBuild5
-rw-r--r--development/brackets/brackets.info10
-rw-r--r--development/brackets/doinst.sh9
3 files changed, 17 insertions, 7 deletions
diff --git a/development/brackets/brackets.SlackBuild b/development/brackets/brackets.SlackBuild
index 07afafc106..8452fd27a9 100644
--- a/development/brackets/brackets.SlackBuild
+++ b/development/brackets/brackets.SlackBuild
@@ -24,8 +24,8 @@
PRGNAM=brackets
SRCNAM=Brackets
-RELEASE=Sprint
-VERSION=${VERSION:-40}
+RELEASE=Release
+VERSION=${VERSION:-0.41}
# 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
@@ -71,6 +71,7 @@ ln -s /opt/$PRGNAM/$PRGNAM.desktop \
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/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 301e2f6826..e689349c39 100644
--- a/development/brackets/brackets.info
+++ b/development/brackets/brackets.info
@@ -1,10 +1,10 @@
PRGNAM="brackets"
-VERSION="40"
+VERSION="0.41"
HOMEPAGE="http://brackets.io"
-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"
+DOWNLOAD="https://github.com/adobe/brackets/releases/download/release-0.41/Brackets.Release.0.41.32-bit.deb"
+MD5SUM="9db62037dd65a44d44f1acd0a3afeab7"
+DOWNLOAD_x86_64="https://github.com/adobe/brackets/releases/download/release-0.41/Brackets.Release.0.41.64-bit.deb"
+MD5SUM_x86_64="fe3519544d270fd93d7627bc9fe89b00"
REQUIRES=""
MAINTAINER="Ryan P.C. McQuen"
EMAIL="ryan.q@linux.com"
diff --git a/development/brackets/doinst.sh b/development/brackets/doinst.sh
new file mode 100644
index 0000000000..4302c41122
--- /dev/null
+++ b/development/brackets/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications > /dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi