extra/texmacs to 1.99.11-1

This commit is contained in:
Kevin Mihelich 2019-08-02 23:29:25 +00:00
parent 3445eb8945
commit b99011d005

View file

@ -5,7 +5,7 @@
# - patch to fix size_t check on ARM
pkgname=texmacs
pkgver=1.99.10
pkgver=1.99.11
pkgrel=1
pkgdesc="Free scientific text editor, inspired by TeX and GNU Emacs. WYSIWYG editor TeX-fonts and CAS-interface (Giac, GTybalt, Macaulay 2, Maxima, Octave, Pari, Qcl, R and Yacas) in one."
arch=('x86_64')
@ -22,14 +22,13 @@ makedepends=('ghostscript' 'cmake')
source=(http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${pkgver}-src.tar.gz
fix-size_t-check.patch)
options=('!emptydirs')
sha256sums=('025e5a2eed92b76fedd9430fb1e8aed968d4cf59031f09f048bb9e19d95c22cc'
sha256sums=('8f2a73e2948d2bfdcd46b3ae9e7421707c4f897bd7d1447e8df8ff4886037789'
'09de18741b6a3b8590e76be52c571b2799b906cc3ecdd0eb6594c2ffdef3ad83')
prepare() {
cd TeXmacs-${pkgver}-src
find -name '*.py' | xargs sed -i 's/env python/env python2/'
sed -e 's/env python/env python2/' -i plugins/{gnuplot/bin/tm_gnuplot,python/bin/tm_python,graph/bin/tm_graph}
sed -i 's/"python"/"python2"/' plugins/python/progs/init-python.scm
patch -p1 -i ../fix-size_t-check.patch