2014-03-21 15:58:24 +01:00
|
|
|
# Template file for 'wxMaxima'
|
2014-11-19 08:40:41 +01:00
|
|
|
pkgname=wxMaxima
|
2014-12-27 20:10:20 +01:00
|
|
|
version=14.12.1
|
2014-12-14 20:02:50 +01:00
|
|
|
revision=1
|
2014-11-20 12:49:49 +01:00
|
|
|
wrksrc="wxmaxima-${version}"
|
2014-03-21 15:58:24 +01:00
|
|
|
build_style=gnu-configure
|
2014-11-20 12:49:49 +01:00
|
|
|
configure_args="--with-wx-config=wx-config-3.0 --enable-printing"
|
2014-12-14 20:02:50 +01:00
|
|
|
makedepends="wxWidgets-devel"
|
|
|
|
depends="maxima desktop-file-utils"
|
2014-11-20 12:49:49 +01:00
|
|
|
short_desc="Cross-platform GUI for the computer algebra system Maxima"
|
2014-03-21 15:58:24 +01:00
|
|
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
|
|
|
homepage="http://andrejv.github.io/wxmaxima/"
|
2014-12-14 20:02:50 +01:00
|
|
|
license="GPL-2"
|
2014-11-19 08:40:41 +01:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/wxmaxima/wxmaxima-${version}.tar.gz"
|
2014-12-27 20:10:20 +01:00
|
|
|
checksum=5fa01ecab2ee5a0fab9f2dad68fd78f9454da11fffe3815b17b7f0e201dc5d6a
|
2014-03-21 17:30:58 +01:00
|
|
|
|
|
|
|
post_install() {
|
2014-11-20 12:49:49 +01:00
|
|
|
# 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|' wxmaxima.desktop
|
2014-03-21 17:30:58 +01:00
|
|
|
|
|
|
|
# Install desktop file and icon
|
|
|
|
vinstall wxmaxima.desktop 644 usr/share/applications
|
|
|
|
vinstall data/wxmaxima.png 644 usr/share/pixmaps
|
2014-11-20 12:49:49 +01:00
|
|
|
|
|
|
|
# remove unpackaged files
|
|
|
|
rm -f ${DESTDIR}/usr/share/wxMaxima/{COPYING,README}
|
2014-03-21 17:30:58 +01:00
|
|
|
}
|