aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild b/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild
index 083156108737..0efff8ae047a 100644
--- a/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild
+++ b/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild
@@ -10,16 +10,11 @@
PRGNAM=Chatbot-Eliza
VERSION=${VERSION:-1.04}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+# There is no compiled code here, nothing use /usr/lib(64)
+ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -45,7 +40,7 @@ perl Makefile.PL
make
make install INSTALLDIRS=vendor DESTDIR=$PKG
-mv $PKG/usr/share/man $PKG/usr && rm -rf $PKG/usr/share
+mv $PKG/usr/share/man $PKG/usr
gzip -9 $PKG/usr/man/man3/* 2> /dev/null
# Remove perlocal.pod and .packlist from $PKG