diff options
Diffstat (limited to 'academic/wxMaxima/wxMaxima.SlackBuild')
-rw-r--r-- | academic/wxMaxima/wxMaxima.SlackBuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/academic/wxMaxima/wxMaxima.SlackBuild b/academic/wxMaxima/wxMaxima.SlackBuild index 0151724bfc21..fb13d0571679 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=${VERSION:-0.8.2} +VERSION=${VERSION:-0.8.4} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -46,7 +46,6 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --disable-dependency-tracking \ - --enable-unicode-glyphs \ --enable-printing \ --build=$ARCH-slackware-linux @@ -54,12 +53,10 @@ make make install-strip DESTDIR=$PKG # Cleanup the desktop menu item. -echo "" >> wxmaxima.desktop echo "StartupNotify=false" >> wxmaxima.desktop sed -i \ - -e "s|^Categories=.*|Categories=Utility;|" \ - -e "s|^Icon=.*|Icon=${PRGNAM}\.png|" \ - -e "s|^Terminal=0|Terminal=false|" wxmaxima.desktop + -e "/^Categories/s|=.*|=Education;Science;Math;|" \ + -e "/^Icon/s|=.*|=${PRGNAM}.png|" wxmaxima.desktop mkdir -p $PKG/usr/share/{applications,pixmaps} install -m 0644 wxmaxima.desktop $PKG/usr/share/applications/$PRGNAM.desktop @@ -77,4 +74,4 @@ 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.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |