aboutsummaryrefslogtreecommitdiff
path: root/development/atom/atom.SlackBuild
diff options
context:
space:
mode:
authorDhabyX <slack.dhabyx@gmail.com>2015-06-11 18:03:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-12 00:05:04 +0700
commitd15d0352aa0512d4581292773b7afc9564deb223 (patch)
tree9bc29c1921a03a563a4312953638a92f50e77226 /development/atom/atom.SlackBuild
parent4b7a8c40ded562c84615b5e0bac36fc8fc17e48f (diff)
development/atom: Updated for version 0.208.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 569a3630c2fa0..ac707dbe54f9f 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