2014-03-21 14:58:24 +00:00
|
|
|
# Template file for 'wxMaxima'
|
|
|
|
|
|
|
|
pkgname="wxMaxima"
|
|
|
|
version="13.04.2"
|
2014-04-11 06:41:40 +00:00
|
|
|
revision=4
|
2014-03-21 14:58:24 +00:00
|
|
|
build_style=gnu-configure
|
2014-03-21 16:24:20 +00:00
|
|
|
configure_args="--enable-printing"
|
2014-03-21 14:58:24 +00:00
|
|
|
short_desc="Document based Interface for maxima"
|
|
|
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
|
|
|
license="GPL"
|
|
|
|
homepage="http://andrejv.github.io/wxmaxima/"
|
2014-03-21 16:30:58 +00:00
|
|
|
makedepends="maxima wxWidgets-devel desktop-file-utils"
|
|
|
|
depends="maxima desktop-file-utils"
|
2014-03-21 16:24:20 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/wxmaxima/${pkgname}-${version}.tar.gz"
|
2014-03-21 14:58:24 +00:00
|
|
|
checksum="29352db75dd3ff27393ab0971543fd0b3c3a9c330c2c8d07ebfd373741ded4eb"
|
2014-03-21 16:30:58 +00: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
|
|
|
|
}
|