aboutsummaryrefslogtreecommitdiff
path: root/development/lighttable/lighttable.SlackBuild
diff options
context:
space:
mode:
authorDhabyX <slack.dhabyx@gmail.com>2017-04-06 10:14:31 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-06 21:03:18 +0700
commit3d362d4a1a22f14e04d020352710321d04090c8d (patch)
tree2b6c6f29470d6ef55c207be6411bf95868110df7 /development/lighttable/lighttable.SlackBuild
parent3989258c7c01bc6861092f2c0b6a53093eb43541 (diff)
downloadslackbuilds-3d362d4a1a22f14e04d020352710321d04090c8d.tar.xz
development/lighttable: New maintainer + icon fix.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 af858abc1e68..75c91d7190ed 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