diff options
Diffstat (limited to 'perl/perl-Tie-Simple')
-rw-r--r-- | perl/perl-Tie-Simple/perl-Tie-Simple.SlackBuild | 16 | ||||
-rw-r--r-- | perl/perl-Tie-Simple/perl-Tie-Simple.info | 2 |
2 files changed, 14 insertions, 4 deletions
diff --git a/perl/perl-Tie-Simple/perl-Tie-Simple.SlackBuild b/perl/perl-Tie-Simple/perl-Tie-Simple.SlackBuild index d314bbbda5..74a197503c 100644 --- a/perl/perl-Tie-Simple/perl-Tie-Simple.SlackBuild +++ b/perl/perl-Tie-Simple/perl-Tie-Simple.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Tie-Simple @@ -22,15 +22,25 @@ # 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=perl-Tie-Simple SRCNAM=Tie-Simple VERSION=${VERSION:-1.04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -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} @@ -75,4 +85,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/perl/perl-Tie-Simple/perl-Tie-Simple.info b/perl/perl-Tie-Simple/perl-Tie-Simple.info index ca423b207b..e78bb8217a 100644 --- a/perl/perl-Tie-Simple/perl-Tie-Simple.info +++ b/perl/perl-Tie-Simple/perl-Tie-Simple.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Heinz Wiesinger" -EMAIL="pprkut@liwjatan.at" +EMAIL="pprkut@slackbuilds.org" |