diff options
Diffstat (limited to 'academic/wxMaxima')
-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 859f820fe0e1b..c7a12b6bfddbf 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 8174293d0c526..d44734448ec64 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" |