aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-rw-r--r--development/sublime_text/sublime_text.SlackBuild26
-rw-r--r--development/sublime_text/sublime_text.info14
2 files changed, 16 insertions, 24 deletions
diff --git a/development/sublime_text/sublime_text.SlackBuild b/development/sublime_text/sublime_text.SlackBuild
index bf134a80e9cdc..7a4ff346deef1 100644
--- a/development/sublime_text/sublime_text.SlackBuild
+++ b/development/sublime_text/sublime_text.SlackBuild
@@ -5,12 +5,13 @@
# Anyone can freely modify and/or distribute this script without restrictions
#
# Originally written by Luke Williams (xocel@iquidus.org)
-# Currently maintained by Bruno Queiros (bqueiros@gmail.com)
+# Previously maintained by Bruno Queiros (bqueiros@gmail.com)
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sublime_text
-VERSION=${VERSION:-3.2.11}
+VERSION=${VERSION:-4.1.69}
+SRCVERSION=${VERSION//[.]/}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -23,9 +24,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -35,18 +33,12 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-TARBALL_x86="sublime_text_3_build_3211_x32.tar.bz2" # Name of 32bit tarball
-TARBALL_x86_64="sublime_text_3_build_3211_x64.tar.bz2" # Name of 64bit tarball
-TARBALL_ROOT="sublime_text_3" # Name of tarballs root directory
-
-# Set LIBDIRSUFFIX and TARBALL.
-if [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
- TARBALL="$TARBALL_x86_64"
-else
- LIBDIRSUFFIX=""
- TARBALL="$TARBALL_x86"
-fi
+case "$ARCH" in
+ x86_64) TARBALL="sublime_text_build_""$SRCVERSION""_x64.tar.xz" ;;
+ *) echo "Package for $ARCH architecture is not available." ; exit 1 ;;
+esac
+
+TARBALL_ROOT="sublime_text" # Name of tarballs root directory
set -eu
diff --git a/development/sublime_text/sublime_text.info b/development/sublime_text/sublime_text.info
index f2ae0c1cc6669..f81ad2b330ebc 100644
--- a/development/sublime_text/sublime_text.info
+++ b/development/sublime_text/sublime_text.info
@@ -1,10 +1,10 @@
PRGNAM="sublime_text"
-VERSION="3.2.11"
+VERSION="4.1.69"
HOMEPAGE="http://www.sublimetext.com"
-DOWNLOAD="https://download.sublimetext.com/sublime_text_3_build_3211_x32.tar.bz2"
-MD5SUM="43721c8279d96fcb2529afd15220d10e"
-DOWNLOAD_x86_64="https://download.sublimetext.com/sublime_text_3_build_3211_x64.tar.bz2"
-MD5SUM_x86_64="9438d5ef592df91ba41e5488e690b7e5"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.sublimetext.com/sublime_text_build_4169_x64.tar.xz"
+MD5SUM_x86_64="f0ed9c14a64dab344ec56d62675cc036"
REQUIRES=""
-MAINTAINER="Bruno Queiros"
-EMAIL="bqueiros@gmail.com"
+MAINTAINER="Nikolay Nikolov"
+EMAIL="niko.b.nikolov@gmail.com"