29 lines
995 B
Bash
29 lines
995 B
Bash
# Template file for 'wxMaxima'
|
|
pkgname=wxMaxima
|
|
version=16.12.0
|
|
revision=1
|
|
wrksrc="wxmaxima-${version}"
|
|
build_style=gnu-configure
|
|
configure_args="--with-wx-config=wx-config-3.0 --enable-printing"
|
|
makedepends="wxWidgets-devel"
|
|
depends="maxima desktop-file-utils"
|
|
short_desc="Cross-platform GUI for the computer algebra system Maxima"
|
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
|
homepage="https://andrejv.github.io/wxmaxima/"
|
|
license="GPL-2"
|
|
distfiles="${SOURCEFORGE_SITE}/wxmaxima/wxmaxima-${version}.tar.gz"
|
|
checksum=30d4fcf2b33349fb60d13f7efcd0d9b5460915fa7065665a2c7c291c77d26a06
|
|
|
|
post_install() {
|
|
# Fix .desktop file
|
|
sed -i \
|
|
-e 's/Utility;X-Red-Hat-Base;X-Red-Hat-Base-Only;/Science;Math;/' \
|
|
-e 's|^Icon=wxmaxima.png|Icon=wxmaxima|' data/wxMaxima.desktop
|
|
|
|
# Install desktop file and icon
|
|
vinstall data/wxMaxima.desktop 644 usr/share/applications
|
|
vinstall data/wxmaxima.png 644 usr/share/pixmaps
|
|
|
|
# remove unpackaged files
|
|
rm -f ${DESTDIR}/usr/share/wxMaxima/{COPYING,README}
|
|
}
|