mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
academic/wxMaxima: Updated for version 12.09.0, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
dde396c5d0
commit
c70a74311f
2 changed files with 8 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue