summaryrefslogtreecommitdiff
path: root/extra/texmacs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/texmacs/PKGBUILD')
-rw-r--r--extra/texmacs/PKGBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/extra/texmacs/PKGBUILD b/extra/texmacs/PKGBUILD
index c81afb68e..8ae557e05 100644
--- a/extra/texmacs/PKGBUILD
+++ b/extra/texmacs/PKGBUILD
@@ -1,16 +1,15 @@
-# $Id: PKGBUILD 179001 2013-03-01 10:26:20Z andrea $
+# $Id: PKGBUILD 188082 2013-06-08 11:18:26Z bpiotrowski $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
-# Contributor: Christopher Reimer <c.reimer1993@gmail.com>
+# Contributor: Damir Perisa <damir.perisa@bluewin.ch> # Contributor: Christopher Reimer <c.reimer1993@gmail.com>
pkgname=texmacs
-pkgver=1.0.7.16
+pkgver=1.0.7.19
pkgrel=2
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' 'mips64el')
url="http://www.texmacs.org/"
license=('GPL')
-depends=('perl' 'guile' 'texlive-core' 'python2' 'libxext' 'freetype2' 'shared-mime-info'
+depends=('perl' 'guile1.8' 'texlive-core' 'python2' 'libxext' 'freetype2' 'shared-mime-info'
'desktop-file-utils' 'qt4')
# do not remove texlive-core dependency, as it is needed!
optdepends=('transfig: convert images using fig2ps'
@@ -19,7 +18,7 @@ optdepends=('transfig: convert images using fig2ps'
source=(http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${pkgver}-src.tar.gz)
install=texmacs.install
options=('!emptydirs')
-sha1sums=('bd73a8ff1c5361161cc65c57dfe8e706a1859231')
+sha1sums=('855b8252f561b69deb45a3b80f4531a9055ea465')
build() {
cd ${srcdir}/TeXmacs-${pkgver}-src
@@ -28,6 +27,9 @@ build() {
TeXmacs/misc/inkscape_plugin/texmacs_reedit.py
sed -i 's/"python"/"python2"/' plugins/python/progs/init-python.scm
sed -i '/^LDPATH/d' src/makefile.in
+ sed -i -e 's/guile /guile1.8 /g' \
+ -e 's/guile-config/guile-config1.8/g' \
+ configure
# 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
@@ -36,7 +38,10 @@ build() {
# Unused i386 binary making strip fail.
rm plugins/maxima/bin/maxima_filter
-
+
+ export QMAKE=qmake-qt4
+ export MOC=moc-qt4
+ export UIC=uic-qt4
./configure --prefix=/usr \
--mandir=/usr/share/man \
--libexecdir=/usr/lib