diff options
Diffstat (limited to 'system/uif2iso')
-rw-r--r-- | system/uif2iso/uif2iso.SlackBuild | 18 | ||||
-rw-r--r-- | system/uif2iso/uif2iso.info | 4 |
2 files changed, 16 insertions, 6 deletions
diff --git a/system/uif2iso/uif2iso.SlackBuild b/system/uif2iso/uif2iso.SlackBuild index 3c80bf8c12..81c94d07a0 100644 --- a/system/uif2iso/uif2iso.SlackBuild +++ b/system/uif2iso/uif2iso.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for uif2iso -# Copyright 2009 David Woodfall <dave@dawoodfall.net> +# Copyright 2009 David Woodfall <dave@slackbuilds.org> # All rights reserved. # # aka dive in #slackware on freenode.net @@ -26,10 +26,13 @@ # YOUR DATA IS DESTROYED, YOUR HOUSE BURNS DOWN OR YOUR DOG RUNS OFF. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=uif2iso VERSION=${VERSION:-0.1.7c} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,7 +42,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} @@ -92,4 +102,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/system/uif2iso/uif2iso.info b/system/uif2iso/uif2iso.info index d1e3a7d511..ddc7203ab8 100644 --- a/system/uif2iso/uif2iso.info +++ b/system/uif2iso/uif2iso.info @@ -6,5 +6,5 @@ MD5SUM="2eb9797ec463c38253014d45591a7043" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="David Woodfall" -EMAIL="dave@dawoodfall.net" +MAINTAINER="D Woodfall" +EMAIL="dave@slackbuilds.org" |