diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-05-14 09:53:35 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-16 22:24:36 -0500 |
commit | e59f0b31012c73d3124c3c9668554c5eaf98e03f (patch) | |
tree | 09e9f45f64338223e61274f6c317df3d9d2b964a /academic/wxMaxima/wxMaxima.SlackBuild | |
parent | d22501b876eeb6e154be3330316604801f6f3e07 (diff) | |
download | slackbuilds-e59f0b31012c73d3124c3c9668554c5eaf98e03f.tar.gz |
academic/wxMaxima: Updated for version 0.8.5.
Diffstat (limited to 'academic/wxMaxima/wxMaxima.SlackBuild')
-rw-r--r-- | academic/wxMaxima/wxMaxima.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/academic/wxMaxima/wxMaxima.SlackBuild b/academic/wxMaxima/wxMaxima.SlackBuild index fb13d05716..3df960c769 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.4} +VERSION=0.8.5 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -50,13 +50,15 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install-strip DESTDIR=$PKG +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. -echo "StartupNotify=false" >> wxmaxima.desktop sed -i \ -e "/^Categories/s|=.*|=Education;Science;Math;|" \ - -e "/^Icon/s|=.*|=${PRGNAM}.png|" wxmaxima.desktop + -e "/^Icon/s|=.*|=$PRGNAM|" wxmaxima.desktop mkdir -p $PKG/usr/share/{applications,pixmaps} install -m 0644 wxmaxima.desktop $PKG/usr/share/applications/$PRGNAM.desktop |