void-packages/srcpkgs/wxMaxima/template

25 lines
821 B
Plaintext
Raw Normal View History

# Template file for 'wxMaxima'
pkgname="wxMaxima"
version="13.04.2"
revision=5
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>=3.0 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
}