summaryrefslogtreecommitdiff
path: root/academic/wxMaxima/wxMaxima.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-05-13 00:20:29 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:20:29 +0200
commit4c3794d742d4056ee42f8754053e01f5712f9f2f (patch)
treed7bac31e79bee6c873932d380fb301ce21c33df7 /academic/wxMaxima/wxMaxima.SlackBuild
parentfc2cbafac094fd3300c248e13c7278a048f0945c (diff)
downloadslackbuilds-4c3794d742d4056ee42f8754053e01f5712f9f2f.tar.gz
academic/wxMaxima: Updated for version 0.8.4
Diffstat (limited to 'academic/wxMaxima/wxMaxima.SlackBuild')
-rw-r--r--academic/wxMaxima/wxMaxima.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/academic/wxMaxima/wxMaxima.SlackBuild b/academic/wxMaxima/wxMaxima.SlackBuild
index 0151724bfc..fb13d05716 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}