development/lighttable: New maintainer + icon fix.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
DhabyX 2017-04-06 10:14:31 +07:00 committed by Willy Sudiarto Raharjo
parent 3989258c7c
commit 3d362d4a1a
3 changed files with 9 additions and 15 deletions

View File

@ -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

View File

@ -6,5 +6,5 @@ MD5SUM="084716abf33da996184910e19bec1047"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="leiningen nodejs"
MAINTAINER="Ryan P.C. McQuen"
EMAIL="ryanpcmcquen@member.fsf.org"
MAINTAINER="DhabyX"
EMAIL="slack.dhabyx@gmail.com"