libraries/mujs: Updated for version 1.0.7 & new maintainer

Signed-off-by: Christoph Willing <chris.willing@linux.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Christoph Willing 2020-06-23 09:16:08 +10:00 committed by Willy Sudiarto Raharjo
parent 00e976dad6
commit 26ee419c3c
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 14 additions and 8 deletions

View file

@ -3,6 +3,9 @@
# Slackware build script for mujs
# Written by Valerio Talora <navigare@gmx.com>
# Copyright (c) 2018 (versions 1.0.3-1.0.5) Andreas Guldstrand
# Copyright (c) 2020 Christoph Willing, Brisbane, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@ -22,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mujs
VERSION=${VERSION:-1.0.5}
VERSION=${VERSION:-1.0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -62,6 +65,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
sed -i -e '/LIBREADLINE +=/ s/$/ -ltermcap/' Makefile
chown -R root:root .
find -L . \
@ -70,8 +74,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make LDFLAGS=-ltermcap
make prefix=/usr libdir=/usr/lib${LIBDIRSUFFIX} install DESTDIR=$PKG
make shared && make install-shared \
prefix=/usr \
libdir=/usr/lib${LIBDIRSUFFIX} \
DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING README docs $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,10 +1,10 @@
PRGNAM="mujs"
VERSION="1.0.5"
VERSION="1.0.7"
HOMEPAGE="https://mujs.com/"
DOWNLOAD="https://mujs.com/downloads/mujs-1.0.5.tar.xz"
MD5SUM="578f8be24a46449c6bcd36ad968d805d"
DOWNLOAD="https://mujs.com/downloads/mujs-1.0.7.tar.xz"
MD5SUM="2797940102e4020a9182ad789fbed2f2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Andreas Guldstrand"
EMAIL="andreas.guldstrand@gmail.com"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"