diff options
Diffstat (limited to 'development/shed')
-rw-r--r-- | development/shed/README | 8 | ||||
-rw-r--r-- | development/shed/shed.SlackBuild | 18 | ||||
-rw-r--r-- | development/shed/shed.info | 4 |
3 files changed, 20 insertions, 10 deletions
diff --git a/development/shed/README b/development/shed/README index dadfeb246b..dc44a7ed31 100644 --- a/development/shed/README +++ b/development/shed/README @@ -1,4 +1,4 @@ -Shed is a hex editor written for unix/linux using ncurses, with a friendly -pico-style interface. Shows data in ascii, hex, dec, oct and binary, and -allows editing in all of these bases. Features also include searching and -dumping. +Shed is a hex editor written for unix/linux using ncurses, with a +friendly pico-style interface. Shows data in ascii, hex, dec, oct and +binary, and allows editing in all of these bases. Features also include +searching and dumping. diff --git a/development/shed/shed.SlackBuild b/development/shed/shed.SlackBuild index 078b3eb561..275e9e7fcc 100644 --- a/development/shed/shed.SlackBuild +++ b/development/shed/shed.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Shed -# Copyright 2009 David Woodfall <dave@unrealize.co.uk> +# Copyright 2009 David Woodfall <dave@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,10 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. FURTHERMORE I AM NOT LIABLE IF # YOUR DATA IS DESTROYED, YOUR HOUSE BURNS DOWN OR YOUR DOG RUNS OFF. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=shed VERSION=${VERSION:-1.15} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then 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} @@ -98,4 +108,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc 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/shed/shed.info b/development/shed/shed.info index 29df2e2169..aba7aefb98 100644 --- a/development/shed/shed.info +++ b/development/shed/shed.info @@ -6,5 +6,5 @@ MD5SUM="c7d7d464d6b4fa28a7980270d03e0906" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="David Woodfall" -EMAIL="dave@dawoodfall.net" +MAINTAINER="D Woodfall" +EMAIL="dave@slackbuilds.org" |