void-packages/srcpkgs/wxMaxima/template
2014-11-19 08:40:41 +01:00

25 lines
842 B
Text

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