diff options
author | B. Watson <yalhcru@gmail.com> | 2021-01-20 03:48:08 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-01-23 18:18:55 +0700 |
commit | b869a1fbc429449a79f63fe53431755ebc0b311d (patch) | |
tree | a471b1404a08a04b3e12185e329d0b205c2c475a /games | |
parent | f94b08d2905ce270b9427b9922e7bca784bbdff9 (diff) |
games/Chatbot-Eliza: Fix build, make noarch.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild b/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild index 0831561087374..0efff8ae047ad 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 |