summaryrefslogtreecommitdiff
path: root/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild')
-rw-r--r--games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild b/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild
index 4ac9d8e43b..5de0f054ef 100644
--- a/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild
+++ b/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild
@@ -3,12 +3,12 @@
# Slackware build script for Chatbot-Eliza
# Written by (Marco Cecchetti) (mrc.ildp@gmail.com)
-#
+
# Modified by the SlackBuilds.org project.
PRGNAM=Chatbot-Eliza
VERSION=${VERSION:-1.04}
-ARCH=${ARCH:-noarch}
+ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,12 +52,13 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples
cp -a README \
$PKG/usr/doc/$PRGNAM-$VERSION
-cp -a simple doctor.txt deutsch* norsk* twobots *.cgi \
- $PKG/usr/doc/$PRGNAM-$VERSION/examples
+cp -a \
+ simple doctor.txt deutsch* norsk* twobots *.cgi \
+ $PKG/usr/doc/$PRGNAM-$VERSION/examples
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}