diff options
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 fb13d05716793..3df960c7694fc 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 |