diff options
Diffstat (limited to 'system/info2man/info2man.SlackBuild')
-rw-r--r-- | system/info2man/info2man.SlackBuild | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/system/info2man/info2man.SlackBuild b/system/info2man/info2man.SlackBuild index 54c56d52ca..f7d95f85e1 100644 --- a/system/info2man/info2man.SlackBuild +++ b/system/info2man/info2man.SlackBuild @@ -1,11 +1,15 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for info2man -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20210825 bkw: no changes. looked at debian's 1.1-10, but there are +# no changes there that apply to us (only apply to debian's package +# building tools). + # 20201102 bkw: update for v1.1_9 (debian's 1.1-9) # 20140907 bkw: original site blocks downloads based on user-agent. Host @@ -13,13 +17,20 @@ # didn't bump the BUILD. # Original download link: http://www.cskk.ezoshosting.com/cs/css/info2man.tar.gz +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=info2man VERSION=${VERSION:-1.1_9} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -74,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 |