diff options
Diffstat (limited to 'development/henplus')
-rw-r--r-- | development/henplus/README | 3 | ||||
-rw-r--r-- | development/henplus/henplus.SlackBuild | 16 | ||||
-rw-r--r-- | development/henplus/henplus.info | 2 | ||||
-rw-r--r-- | development/henplus/slack-desc | 2 |
4 files changed, 17 insertions, 6 deletions
diff --git a/development/henplus/README b/development/henplus/README index b729af19a7..0ad1640ff7 100644 --- a/development/henplus/README +++ b/development/henplus/README @@ -1 +1,2 @@ -HenPlus is a SQL shell that can handle multiple open sessions in parallel. +HenPlus is a SQL shell that can handle multiple open sessions in +parallel. diff --git a/development/henplus/henplus.SlackBuild b/development/henplus/henplus.SlackBuild index 10b3197e4b..01983eacbc 100644 --- a/development/henplus/henplus.SlackBuild +++ b/development/henplus/henplus.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for henplus @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=henplus VERSION=${VERSION:-0.9.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,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} @@ -78,4 +88,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/henplus/henplus.info b/development/henplus/henplus.info index 786c7c36cc..bf3c735654 100644 --- a/development/henplus/henplus.info +++ b/development/henplus/henplus.info @@ -1,6 +1,6 @@ PRGNAM="henplus" VERSION="0.9.8" -HOMEPAGE="http://henplus.sourceforge.net/" +HOMEPAGE="https://henplus.sourceforge.net/" DOWNLOAD="https://sourceforge.net/projects/henplus/files/henplus-0.9.8.tar.gz" MD5SUM="230d3bff07c54b4861c848582b077b35" DOWNLOAD_x86_64="" diff --git a/development/henplus/slack-desc b/development/henplus/slack-desc index 74a7e4c16e..dc35b203aa 100644 --- a/development/henplus/slack-desc +++ b/development/henplus/slack-desc @@ -13,7 +13,7 @@ henplus: parallel. The commandline interface provides the usual history henplus: functions features and TAB-completion for commands, tables and henplus: columns. henplus: -henplus: Website: http://henplus.sourceforge.net/ +henplus: Website: https://henplus.sourceforge.net/ henplus: henplus: henplus: |