diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2012-12-19 20:38:26 +0100 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-12-19 20:38:48 +0100 |
commit | c70a74311f284f9cf03a63dc7365d1fd568cb8fd (patch) | |
tree | 40bb5b57b0072919c449bdff22c457bda407ffad /academic | |
parent | dde396c5d0a75ed7f0f62eeae16bc14c327d9672 (diff) | |
download | slackbuilds-c70a74311f284f9cf03a63dc7365d1fd568cb8fd.tar.gz |
academic/wxMaxima: Updated for version 12.09.0, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r-- | academic/wxMaxima/wxMaxima.SlackBuild | 14 | ||||
-rw-r--r-- | academic/wxMaxima/wxMaxima.info | 6 |
2 files changed, 8 insertions, 12 deletions
diff --git a/academic/wxMaxima/wxMaxima.SlackBuild b/academic/wxMaxima/wxMaxima.SlackBuild index 859f820fe0..c7a12b6bfd 100644 --- a/academic/wxMaxima/wxMaxima.SlackBuild +++ b/academic/wxMaxima/wxMaxima.SlackBuild @@ -5,7 +5,7 @@ # Written by Larry Hajali <larryhaja[at]gmail[dot]com> PRGNAM=wxMaxima -VERSION=11.04.0 +VERSION=${VERSION:-12.09.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -51,6 +51,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Cleanup the desktop menu item. +sed -i -e "/^Icon/s|=.*|=$PRGNAM|" wxmaxima.desktop + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -65,19 +68,12 @@ make install 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 -# Cleanup the desktop menu item. -sed -i \ - -e "/^Categories/s|=.*|=Education;Science;Math;|" \ - -e "/^Icon/s|=.*|=$PRGNAM|" wxmaxima.desktop - mkdir -p $PKG/usr/share/{applications,pixmaps} install -m 0644 wxmaxima.desktop $PKG/usr/share/applications/$PRGNAM.desktop install -m 0644 data/wxmaxima.png $PKG/usr/share/pixmaps/$PRGNAM.png 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 rm -f $PKG/usr/share/$PRGNAM/{COPYING,README} cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/academic/wxMaxima/wxMaxima.info b/academic/wxMaxima/wxMaxima.info index 8174293d0c..d44734448e 100644 --- a/academic/wxMaxima/wxMaxima.info +++ b/academic/wxMaxima/wxMaxima.info @@ -1,8 +1,8 @@ PRGNAM="wxMaxima" -VERSION="11.04.0" +VERSION="12.09.0" HOMEPAGE="http://wxmaxima.sourceforge.net/wiki/index.php/Main_Page" -DOWNLOAD="http://downloads.sourceforge.net/wxmaxima/wxMaxima-11.04.0.tar.gz" -MD5SUM="249fd17d9c299bda6bd13532f02f1dea" +DOWNLOAD="http://downloads.sourceforge.net/wxmaxima/wxMaxima-12.09.0.tar.gz" +MD5SUM="a5b0d82e99690b913dbc0109abe07e4e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="maxima wxPython" |