#Maintainer: Dimitris Tzemos pkgname=maxima pkgver=5.37.3 pkgrel=1dj source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" "maxima.desktop") docs=("AUTHORS" "COPYING*" "ChangeLog" "INSTALL" "NEWS" "README") 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." "" "Homepage: http://maxima.sourceforge.net/" ) build() { cd $SRC/$pkgname-$pkgver CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --infodir=/usr/info \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-sbcl make -j $numjobs || return 1 make install DESTDIR=$PKG || return 1 # install some freedesktop.org compatibility install -Dm644 "${SRC}/${pkgname}.desktop" \ "${PKG}/usr/share/applications/${pkgname}.desktop" # make sure, we have a nice icon for the desktop file at the right place ;) install -d "${PKG}/usr/share/pixmaps/" # create icons mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps || return 1 cp $PKG/usr/share/maxima/${pkgver}/xmaxima/maxima-new.png $PKG/usr/share/icons/hicolor/48x48/apps/${pkgname}.png || return 1 }