#Maintainer: fushark #Former Maintainer: Johannes Marbach (hennes) pkgname=maxima pkgver=5.15.0 pkgrel=1 zenver=54 arch=i486 source=(http://downloads.sourceforge.net/maxima/maxima-$pkgver.tar.gz maxima-48.png maxima-96.png) sourcetemplate=http://users.zenwalk.org/user-accounts/fushark/unofficial/maxima docs=("authors" "copying" "changelog*" "install" "install.lisp" "news" "readme" "readme.external" "readme.i18n" "readme.lisps" "contributors") url=http://maxima.sourceforge.net/ extradepends=("clisp" "tcl" "tk" "xorg-libs" "xorg-xcb") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "maxima (A computer algebra system)" "Maxima is a system for the manipulation of symbolic and numerical" "expressions, including differentiation, integration, Taylor series," "Laplace transforms, ordinary differential equations, systems of linear" "equations, polynomials, and sets, lists, vectors, matrices, and" "tensors. Maxima yields high precision numeric results by using exact" "fractions, arbitrary precision integers, and arbitrarily precision" "floating point numbers. Maxima can plot functions and data in two and" "three dimensions." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc make || return 1 make install DESTDIR=$startdir/pkg # Icons mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps mkdir -p $startdir/pkg/usr/share/icons/hicolor/96x96/apps cp $startdir/src/$pkgname-48.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/$pkgname.png cp $startdir/src/$pkgname-96.png $startdir/pkg/usr/share/icons/hicolor/96x96/apps/$pkgname.png # .desktop file mkdir -p $startdir/pkg/usr/share/applications cat <<- EOF > $startdir/pkg/usr/share/applications/$pkgname.desktop [Desktop Entry] Version=1.0 Encoding=UTF-8 Type=Application Name=Maxima Name[de]=Maxima Comment=A computer algebra system Comment[de]=Ein Computer-Algebra-System Exec=xmaxima Icon=maxima Categories=Science;Education; EOF }