Commit e2802855 authored by Jeff Huang's avatar Jeff Huang 🤔

[testing] maxima: update to 5.42.2

parent b7875f0c
Pipeline #3523 passed with stages
in 9 minutes and 14 seconds
pkgname=maxima
pkgver=5.41.0
pkgver=5.42.2
pkgrel=1
pkgdesc="Maxima - a sophisticated Computer Algebra System."
arch=('x86_64')
......@@ -12,11 +12,15 @@ optdepends=('gnuplot: plotting capabilities' \
'rlwrap: readline support via /usr/bin/rmaxima' \
'tk: graphical xmaxima interface')
options=('!makeflags' '!zipman') # don't zip info pages or they won't work inside maxima
install="maxima.install"
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
"${pkgname}.desktop")
md5sums=('972c51384d7895c88d78eb045c6aedb2'
'24aa81126fbb8b726854e5a80d4c2415')
source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('167e11d6513a65c829a35f24d4ba539bcd0a82fc3dc7a6721e4f9f118c67b64d')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
# set correct python executable to create docs
sed -i "s|${PYTHONBIN:-python}|python2|" doc/info/extract_categories.sh
}
build() {
cd $pkgname-$pkgver
......@@ -38,11 +42,4 @@ package() {
cd $pkgname-$pkgver
make DESTDIR=$pkgdir emacsdir=/usr/share/emacs/site-lisp/maxima install
# install some freedesktop.org compatibility
install -Dm644 ../$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
# make sure we have a nice icon for the desktop file at the right place ;)
install -d $pkgdir/usr/share/pixmaps
ln -s /usr/share/maxima/${pkgver}/xmaxima/maxima-new.png $pkgdir/usr/share/pixmaps/$pkgname.png
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment