diff options
Diffstat (limited to 'development/lighttable')
-rw-r--r-- | development/lighttable/README | 4 | ||||
-rw-r--r-- | development/lighttable/lighttable.SlackBuild | 18 | ||||
-rw-r--r-- | development/lighttable/lighttable.info | 2 |
3 files changed, 19 insertions, 5 deletions
diff --git a/development/lighttable/README b/development/lighttable/README index 1c9f0b3f6b..99a4b39a95 100644 --- a/development/lighttable/README +++ b/development/lighttable/README @@ -4,3 +4,7 @@ programs and embed anything from websites to games. It provides the real time feedback we need to not only answer questions about our code, but to understand how our programs really work. + +Warning: This SlackBuild requires network access when it runs, meaning +it downloads files from the Internet with root access. You should +decide for yourself whether or not you think this is a good idea. diff --git a/development/lighttable/lighttable.SlackBuild b/development/lighttable/lighttable.SlackBuild index 75c91d7190..92a0801e93 100644 --- a/development/lighttable/lighttable.SlackBuild +++ b/development/lighttable/lighttable.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Light Table @@ -24,21 +24,31 @@ # <https://www.gnu.org/licenses/>. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=lighttable SRCNAM=LightTable VERSION=${VERSION:-0.8.1} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -90,4 +100,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/lighttable/lighttable.info b/development/lighttable/lighttable.info index fb3d3aa655..a8372decfe 100644 --- a/development/lighttable/lighttable.info +++ b/development/lighttable/lighttable.info @@ -1,7 +1,7 @@ PRGNAM="lighttable" VERSION="0.8.1" HOMEPAGE="http://www.lighttable.com" -DOWNLOAD="https://github.com/LightTable/LightTable/archive/0.8.1.tar.gz" +DOWNLOAD="https://github.com/LightTable/LightTable/archive/0.8.1/LightTable-0.8.1.tar.gz" MD5SUM="28f961bdd3293054cda4551c4fae584e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |