[arch-commits] Commit in texmacs/trunk (PKGBUILD)

Ronald van Haren ronald at archlinux.org
Mon Dec 29 14:40:53 UTC 2008


    Date: Monday, December 29, 2008 @ 09:40:53
  Author: ronald
Revision: 22871

upgpkg: texmacs 1.0.7-2

Modified:
  texmacs/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-12-29 14:18:28 UTC (rev 22870)
+++ PKGBUILD	2008-12-29 14:40:53 UTC (rev 22871)
@@ -4,13 +4,14 @@
 
 pkgname=texmacs
 pkgver=1.0.7
-pkgrel=1
+pkgrel=2
 pkgdesc="GNU TeXmacs is a free scientific text editor, which was both 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")
 url="http://www.texmacs.org/"
 license=('GPL')
 depends=('perl' 'guile>=1.8.4' 'texlive-core' 'python' 'libxext' 'freetype2')
 # do not remove texlive-core dependency, as it is needed!
+optdepends=('transfig: convert images using fig2ps')
 source=("ftp://ftp.texmacs.org/pub/TeXmacs/targz/TeXmacs-${pkgver}-src.tar.gz")
 
 build() {
@@ -18,5 +19,8 @@
   ./configure --prefix=/usr --mandir=/usr/share/man --libexecdir=/usr/lib
   make || return 1
   make DESTDIR=${pkgdir} install || return 1
+
+ # fix fig2ps script
+ sed -i 's|${prefix}|/usr|' ${pkgdir}/usr/bin/fig2ps
 }
 




More information about the arch-commits mailing list