summaryrefslogtreecommitdiff
path: root/development/lighttable/lighttable.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/lighttable/lighttable.SlackBuild')
-rw-r--r--development/lighttable/lighttable.SlackBuild14
1 files changed, 4 insertions, 10 deletions
diff --git a/development/lighttable/lighttable.SlackBuild b/development/lighttable/lighttable.SlackBuild
index af858abc1e..75c91d7190 100644
--- a/development/lighttable/lighttable.SlackBuild
+++ b/development/lighttable/lighttable.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for Light Table
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
+# 2017 | Dhaby Xiloj | slack.dhabyx@gmail.com
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -26,7 +27,7 @@
PRGNAM=lighttable
SRCNAM=LightTable
VERSION=${VERSION:-0.8.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -57,7 +58,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-## as aburd as this is, we have to run the build script twice,
+## as absurd as this is, we have to run the build script twice,
## because it always fails the first time,
## also LEIN_ROOT is important to set, or the script just
## hangs forever
@@ -76,14 +77,7 @@ mkdir -p $PKG/usr/bin
ln -sfv /opt/${PRGNAM}-${VERSION}-linux/$SRCNAM $PKG/usr/bin
## icon files
-(
- cd deploy/core/img/
- for IMG in *.png
- do
- DIR_NAME=${IMG%.*}x${IMG%.*}
- install -D $IMG $PKG/usr/share/icons/hicolor/$DIR_NAME/apps/$PRGNAM.png
- done
-)
+install -Dm644 deploy/core/img/lticon.png $PKG/usr/share/pixmaps/$SRCNAM.png
mkdir -p $PKG/usr/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop