academic/wxMaxima: Upgraded to 13.04.2

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
larryhaja 2013-11-13 18:25:39 -08:00 committed by Robby Workman
parent 17cf6e9916
commit 666122bd8b
3 changed files with 37 additions and 11 deletions

View file

@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

View file

@ -2,10 +2,28 @@
# Slackware build script for wxMaxima # Slackware build script for wxMaxima
# Written by Larry Hajali <larryhaja[at]gmail[dot]com> # Copyright 2010-2013 Larry Hajali <larryhaja[at]gmail[dot]com>
# 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.
PRGNAM=wxMaxima PRGNAM=wxMaxima
VERSION=${VERSION:-12.09.0} VERSION=${VERSION:-13.04.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -51,9 +69,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \; -exec chmod 644 {} \;
# Cleanup the desktop menu item.
sed -i -e "/^Icon/s|=.*|=$PRGNAM|" wxmaxima.desktop
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
@ -68,9 +83,14 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/share/{applications,pixmaps} # Cleanup the desktop menu item.
install -m 0644 wxmaxima.desktop $PKG/usr/share/applications/$PRGNAM.desktop sed -i -e "/^Icon/s|=.*|=$PRGNAM|" wxmaxima.desktop
install -m 0644 data/wxmaxima.png $PKG/usr/share/pixmaps/$PRGNAM.png install -D -m 0644 wxmaxima.desktop $PKG/usr/share/applications/$PRGNAM.desktop
for i in 16 32 48 64 96 128; do
convert data/wxmaxima.png -resize ${i}x${i}! $PRGNAM-$i.png
install -D -m 0644 $PRGNAM-$i.png \
$PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png
done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING README art/*.txt $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING README art/*.txt $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,8 +1,8 @@
PRGNAM="wxMaxima" PRGNAM="wxMaxima"
VERSION="12.09.0" VERSION="13.04.2"
HOMEPAGE="http://wxmaxima.sourceforge.net/wiki/index.php/Main_Page" HOMEPAGE="http://wxmaxima.sourceforge.net/wiki/index.php/Main_Page"
DOWNLOAD="http://downloads.sourceforge.net/wxmaxima/wxMaxima-12.09.0.tar.gz" DOWNLOAD="http://downloads.sourceforge.net/wxmaxima/wxMaxima-13.04.2.tar.gz"
MD5SUM="a5b0d82e99690b913dbc0109abe07e4e" MD5SUM="52458cb8798a75d099623ed4259f997d"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="maxima wxPython" REQUIRES="maxima wxPython"