diff options
author | Matthew Fillpot <mfilpot@gmail.com> | 2011-08-19 08:58:16 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-08-19 08:58:16 -0300 |
commit | 9edac5e33760d60c0780a84e0dc54e5b5033e280 (patch) | |
tree | ad9a5fc6566c5f7f218b77770c40234d660e2553 | |
parent | 115c22990441559d34df90b05d65e344d797f8ce (diff) |
academic/mathomatic: Updated for version 15.6.3 (+new maintainer)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r-- | academic/mathomatic/doinst.sh | 3 | ||||
-rw-r--r-- | academic/mathomatic/mathomatic.SlackBuild | 36 | ||||
-rw-r--r-- | academic/mathomatic/mathomatic.info | 12 |
3 files changed, 37 insertions, 14 deletions
diff --git a/academic/mathomatic/doinst.sh b/academic/mathomatic/doinst.sh new file mode 100644 index 0000000000000..5fb28930db0b9 --- /dev/null +++ b/academic/mathomatic/doinst.sh @@ -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 diff --git a/academic/mathomatic/mathomatic.SlackBuild b/academic/mathomatic/mathomatic.SlackBuild index 5b7a0425b11ca..2573c6a9f55e0 100644 --- a/academic/mathomatic/mathomatic.SlackBuild +++ b/academic/mathomatic/mathomatic.SlackBuild @@ -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} diff --git a/academic/mathomatic/mathomatic.info b/academic/mathomatic/mathomatic.info index fa2de52ff6e41..3994dd5e84618 100644 --- a/academic/mathomatic/mathomatic.info +++ b/academic/mathomatic/mathomatic.info @@ -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" |