academic/mathomatic: Updated for version 15.6.3 (+new maintainer)

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Matthew Fillpot 2011-08-19 08:58:16 -03:00 committed by Niels Horn
parent 115c229904
commit 9edac5e337
3 changed files with 37 additions and 14 deletions

View file

@ -0,0 +1,3 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi

View file

@ -2,11 +2,30 @@
# Slackware build script for mathomatic
# Written by Dylan Armitage <d.armitage89@gmail.com>
# This work is released into the public domain.
# Copyright 2011 Matthew "mfillpot" Fillpot
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Originally written by Dylan Armitage <d.armitage89@gmail.com>
PRGNAM=mathomatic
VERSION=${VERSION:-15.3.3}
VERSION=${VERSION:-15.6.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -53,16 +72,16 @@ find . \
-exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
make READLINE=1
make READLINE=1
# We do want to make sure it works. This is math, afterall.
make test
make install \
prefix=/usr \
mandir=/usr/man \
docdir=/usr/doc/$PRGNAM-$VERSION \
DESTDIR=$PKG
prefix=/usr \
mandir=/usr/man \
mathdocdir=/usr/doc/$PRGNAM-$VERSION \
DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@ -74,6 +93,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,10 +1,10 @@
PRGNAM="mathomatic"
VERSION="15.3.3"
VERSION="15.6.3"
HOMEPAGE="http://www.mathomatic.org"
DOWNLOAD="http://www.mathomatic.org/archive/mathomatic-15.3.3.tar.bz2"
MD5SUM="74a9dcf0ad73f642fca01ee4e9e1b624"
DOWNLOAD="http://mathomatic.org/mathomatic-15.6.3.tar.bz2"
MD5SUM="afe923c5164b2d8746ef8dc87b868ba0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Dylan Armitage"
EMAIL="d.armitage89@gmail.com"
APPROVED="Erik Hanson"
MAINTAINER="Matthew Fillpot"
EMAIL="mfilpot@gmail.com"
APPROVED="Erik Hanson,Niels Horn"