summaryrefslogtreecommitdiff
path: root/development/atom/atom.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/atom/atom.SlackBuild')
-rw-r--r--development/atom/atom.SlackBuild17
1 files changed, 6 insertions, 11 deletions
diff --git a/development/atom/atom.SlackBuild b/development/atom/atom.SlackBuild
index 569a3630c2..ac707dbe54 100644
--- a/development/atom/atom.SlackBuild
+++ b/development/atom/atom.SlackBuild
@@ -23,12 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=atom
-VERSION=${VERSION:-0.138.0}
+VERSION=${VERSION:-0.208.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-#Some variables needed for compile tar version
-GITSHA1='8925d309b0f6deeec50b8b0c070d2179af59f825'
-GITBRANCH='master'
#Disable send metrics to Google Analytics module
DISABLE_METRICS=${DISABLE_METRICS:-no}
@@ -88,13 +85,9 @@ echo '*********************************************************************'
mkdir -p destbuild
BUILD_DIR=$PWD/destbuild
- JANKY_SHA1=$GITSHA1 \
- JANKY_BRANCH=$GITBRANCH \
PYTHON=python2 \
./script/build --build-dir=$BUILD_DIR
- JANKY_SHA1=$GITSHA1 \
- JANKY_BRANCH=$GITBRANCH \
PYTHON=python2 \
./script/grunt --build-dir=$BUILD_DIR --install-dir=$PKG/usr install
@@ -110,7 +103,7 @@ cp -a resources/atom.png \
$PKG/usr/share/pixmaps
mkdir -p $PKG/usr/share/applications
sed -e "s#<%= description %>#Hackable text editor#" \
- -e "s#<%= installDir %>.*atom#/usr/bin/atom#" \
+ -e "s#<%= executable %>#/usr/bin/atom#" \
-e "s#<%= iconName %>#atom#" \
resources/linux/atom.desktop.in > \
$PKG/usr/share/applications/atom.desktop
@@ -122,8 +115,10 @@ if [ "$DELETE_CACHE" == "yes" ]; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ar LICENSE.md README.md CONTRIBUTING.md docs $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp -ar LICENSE.md README.md CONTRIBUTING.md docs \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > \
+ $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc