extra/texmacs to 1.99.4-1

This commit is contained in:
Kevin Mihelich 2016-03-14 23:15:05 +00:00
parent 1160821b93
commit 2f1fbd0a23

View file

@ -6,8 +6,8 @@
# - patch to fix qreal usage # - patch to fix qreal usage
pkgname=texmacs pkgname=texmacs
pkgver=1.99.2 pkgver=1.99.4
pkgrel=2 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." 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=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.texmacs.org/" url="http://www.texmacs.org/"
@ -25,7 +25,7 @@ source=(http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${pkgver}-src.t
arm.patch) arm.patch)
install=texmacs.install install=texmacs.install
options=('!emptydirs') options=('!emptydirs')
sha1sums=('5298e9bd3f61cd8f2117fe1d96a7435f8a788cc8' sha1sums=('77a3d292934ebb288c7f8cb77e15f168012bbf4c'
'3c431d63360da065b4021df04ed052ee6b18b8ae') '3c431d63360da065b4021df04ed052ee6b18b8ae')
prepare() { prepare() {
@ -36,9 +36,10 @@ prepare() {
TeXmacs/misc/inkscape_extension/texmacs_reedit.py TeXmacs/misc/inkscape_extension/texmacs_reedit.py
sed -i 's/"python"/"python2"/' plugins/python/progs/init-python.scm sed -i 's/"python"/"python2"/' plugins/python/progs/init-python.scm
sed -i '/^LDPATH/d' src/makefile.in sed -i '/^LDPATH/d' src/makefile.in
sed -i -e 's/guile /guile1.8 /g' \ sed -i -e 's/guile18 /guile1.8 /g' \
-e 's/guile-config/guile-config1.8/g' \ -e 's/guile18-config/guile-config1.8/g' \
configure configure
sed -i -e 's|#include <libguile18.h>|#include <guile/gh.h>|g' src/Scheme/Guile/guile_tm.hpp
# Don't generate icon-cache and mime-database (namcap tells that they should not be in a package) # Don't generate icon-cache and mime-database (namcap tells that they should not be in a package)
sed -i '/update-mime-database/d' Makefile.in sed -i '/update-mime-database/d' Makefile.in