2014-03-21 15:58:24 +01:00
|
|
|
# Template file for 'wxMaxima'
|
|
|
|
|
|
|
|
pkgname="wxMaxima"
|
|
|
|
version="13.04.2"
|
2014-06-16 10:38:15 +02:00
|
|
|
revision=5
|
2014-03-21 15:58:24 +01:00
|
|
|
build_style=gnu-configure
|
2014-03-21 17:24:20 +01:00
|
|
|
configure_args="--enable-printing"
|
2014-03-21 15:58:24 +01:00
|
|
|
short_desc="Document based Interface for maxima"
|
|
|
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
|
|
|
license="GPL"
|
|
|
|
homepage="http://andrejv.github.io/wxmaxima/"
|
2014-06-16 10:38:15 +02:00
|
|
|
makedepends="maxima wxWidgets-devel>=3.0 desktop-file-utils"
|
2014-03-21 17:30:58 +01:00
|
|
|
depends="maxima desktop-file-utils"
|
2014-03-21 17:24:20 +01:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/wxmaxima/${pkgname}-${version}.tar.gz"
|
2014-03-21 15:58:24 +01:00
|
|
|
checksum="29352db75dd3ff27393ab0971543fd0b3c3a9c330c2c8d07ebfd373741ded4eb"
|
2014-03-21 17:30:58 +01:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
# Fix category in .desktop file
|
|
|
|
sed -i -e 's/Utility;X-Red-Hat-Base;X-Red-Hat-Base-Only;/Science;Math;/' wxmaxima.desktop
|
|
|
|
|
|
|
|
# Install desktop file and icon
|
|
|
|
vinstall wxmaxima.desktop 644 usr/share/applications
|
|
|
|
vinstall data/wxmaxima.png 644 usr/share/pixmaps
|
|
|
|
}
|