mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/texmacs to 1.99.1
This commit is contained in:
parent
9917482adf
commit
d28dc2ca59
1 changed files with 9 additions and 7 deletions
|
@ -6,7 +6,7 @@
|
|||
# - patch to fix qreal usage
|
||||
|
||||
pkgname=texmacs
|
||||
pkgver=1.0.7.21
|
||||
pkgver=1.99.1
|
||||
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=('i686' 'x86_64')
|
||||
|
@ -18,16 +18,15 @@ depends=('perl' 'guile1.8' 'texlive-core' 'python2' 'libxext' 'freetype2' 'share
|
|||
optdepends=('transfig: convert images using fig2ps'
|
||||
'gawk: conversion of some files')
|
||||
makedepends=('ghostscript')
|
||||
#source=(ftp://ftp.texmacs.org/pub/TeXmacs/targz/TeXmacs-${pkgver}-src.tar.gz)
|
||||
source=(http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${pkgver}-src.tar.gz
|
||||
arm.patch)
|
||||
install=texmacs.install
|
||||
options=('!emptydirs')
|
||||
sha1sums=('e8086acd4b7c1bb3aaccf75b6b0199aa612cb66c'
|
||||
sha1sums=('a5c7171644c84866445334b2d0cb39a6d9dd5f54'
|
||||
'3c431d63360da065b4021df04ed052ee6b18b8ae')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/TeXmacs-${pkgver}-src
|
||||
prepare() {
|
||||
cd "${srcdir}/TeXmacs-${pkgver}-src"
|
||||
patch -p1 -i ../arm.patch
|
||||
sed -i 's/env python/env python2/' \
|
||||
plugins/{mathematica/bin/realpath.py,python/bin/tm_python,sage/bin/tm_sage} \
|
||||
|
@ -42,7 +41,10 @@ build() {
|
|||
sed -i '/update-mime-database/d' Makefile.in
|
||||
sed -i '/gtk-update-icon-cache/d' Makefile.in
|
||||
sed -i '\/icons\/gnome 2>\/dev\/null/d' Makefile.in
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/TeXmacs-${pkgver}-src"
|
||||
export QMAKE=qmake-qt4
|
||||
export MOC=moc-qt4
|
||||
export UIC=uic-qt4
|
||||
|
@ -53,9 +55,9 @@ build() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/TeXmacs-${pkgver}-src
|
||||
cd "${srcdir}/TeXmacs-${pkgver}-src"
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
# fix fig2ps script
|
||||
sed -i 's|${prefix}|/usr|' ${pkgdir}/usr/bin/fig2ps
|
||||
sed -i 's|${prefix}|/usr|' "${pkgdir}/usr/bin/fig2ps"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue