2014-03-21 14:58:24 +00:00
|
|
|
# Template file for 'wxMaxima'
|
2014-11-19 07:40:41 +00:00
|
|
|
pkgname=wxMaxima
|
|
|
|
version=14.09.0
|
2014-11-20 11:49:49 +00:00
|
|
|
revision=2
|
|
|
|
wrksrc="wxmaxima-${version}"
|
2014-03-21 14:58:24 +00:00
|
|
|
build_style=gnu-configure
|
2014-11-20 11:49:49 +00:00
|
|
|
configure_args="--with-wx-config=wx-config-3.0 --enable-printing"
|
|
|
|
short_desc="Cross-platform GUI for the computer algebra system Maxima"
|
2014-03-21 14:58:24 +00:00
|
|
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
2014-11-19 07:40:41 +00:00
|
|
|
license="GPL-2"
|
2014-03-21 14:58:24 +00:00
|
|
|
homepage="http://andrejv.github.io/wxmaxima/"
|
2014-11-20 11:49:49 +00:00
|
|
|
makedepends="wxWidgets-devel"
|
2014-03-21 16:30:58 +00:00
|
|
|
depends="maxima desktop-file-utils"
|
2014-11-19 07:40:41 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/wxmaxima/wxmaxima-${version}.tar.gz"
|
|
|
|
checksum=584f95619401ba11ea277bc84e86add41edd918b934cdc487a3b31f95ae211f3
|
2014-03-21 16:30:58 +00:00
|
|
|
|
|
|
|
post_install() {
|
2014-11-20 11:49:49 +00:00
|
|
|
# Fix .desktop file
|
|
|
|
sed -i \
|
|
|
|
-e 's/Utility;X-Red-Hat-Base;X-Red-Hat-Base-Only;/Science;Math;/' \
|
|
|
|
-e 's|^Icon=wxmaxima.png|Icon=wxmaxima|' wxmaxima.desktop
|
2014-03-21 16:30:58 +00:00
|
|
|
|
|
|
|
# Install desktop file and icon
|
|
|
|
vinstall wxmaxima.desktop 644 usr/share/applications
|
|
|
|
vinstall data/wxmaxima.png 644 usr/share/pixmaps
|
2014-11-20 11:49:49 +00:00
|
|
|
|
|
|
|
# remove unpackaged files
|
|
|
|
rm -f ${DESTDIR}/usr/share/wxMaxima/{COPYING,README}
|
2014-03-21 16:30:58 +00:00
|
|
|
}
|