aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 07afafc106297..8452fd27a91a1 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 301e2f682618a..e689349c392ce 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 0000000000000..4302c41122ae4
--- /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