void-packages/srcpkgs/wxMaxima/template
2014-03-21 17:30:58 +01:00

24 lines
816 B
Text

# Template file for 'wxMaxima'
pkgname="wxMaxima"
version="13.04.2"
revision=3
build_style=gnu-configure
configure_args="--enable-printing"
short_desc="Document based Interface for maxima"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="GPL"
homepage="http://andrejv.github.io/wxmaxima/"
makedepends="maxima wxWidgets-devel desktop-file-utils"
depends="maxima desktop-file-utils"
distfiles="${SOURCEFORGE_SITE}/wxmaxima/${pkgname}-${version}.tar.gz"
checksum="29352db75dd3ff27393ab0971543fd0b3c3a9c330c2c8d07ebfd373741ded4eb"
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
}