[arch-commits] Commit in texmacs/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Aug 2 21:15:48 UTC 2019


    Date: Friday, August 2, 2019 @ 21:15:47
  Author: arojas
Revision: 358901

archrelease: copy trunk to extra-x86_64

Added:
  texmacs/repos/extra-x86_64/PKGBUILD
    (from rev 358900, texmacs/trunk/PKGBUILD)
Deleted:
  texmacs/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  101 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-02 21:14:28 UTC (rev 358900)
+++ PKGBUILD	2019-08-02 21:15:47 UTC (rev 358901)
@@ -1,51 +0,0 @@
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Damir Perisa <damir.perisa at bluewin.ch> # Contributor: Christopher Reimer <c.reimer1993 at gmail.com>
-
-pkgname=texmacs
-pkgver=1.99.10
-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')
-url="http://www.texmacs.org/"
-license=('GPL')
-depends=('perl' 'guile1.8' 'texlive-core' 'python2' 'libxext' 'freetype2' 'qt5-base')
-# do not remove texlive-core dependency, as it is needed!
-optdepends=('transfig: convert images using fig2ps'
-            'gawk: conversion of some files'
-	    'ghostscript: rendering ps files'
-            'imagemagick: convert images'
-            'aspell: spell checking')
-makedepends=('ghostscript' 'cmake')
-source=(http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${pkgver}-src.tar.gz)
-options=('!emptydirs')
-sha256sums=('025e5a2eed92b76fedd9430fb1e8aed968d4cf59031f09f048bb9e19d95c22cc')
-
-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
-}
-
-build() {
-  cd TeXmacs-${pkgver}-src
-  
-  mkdir -p build
-  cd build
-
-  cmake .. \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DGUILECONFIG_EXECUTABLE=/usr/bin/guile-config1.8
-  make
-}
-
-package() {
-  cd TeXmacs-${pkgver}-src/build
-  make DESTDIR=${pkgdir} install
-
- # fix fig2ps script
- sed -i 's|${prefix}|/usr|' "${pkgdir}/usr/bin/fig2ps"
- # fix launch script
- sed -e 's|\@CONFIG_LIB_PATH\@|LD_LIBRARY_PATH|g' -i "$pkgdir"/usr/bin/texmacs
-}

Copied: texmacs/repos/extra-x86_64/PKGBUILD (from rev 358900, texmacs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-02 21:15:47 UTC (rev 358901)
@@ -0,0 +1,50 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch> # Contributor: Christopher Reimer <c.reimer1993 at gmail.com>
+
+pkgname=texmacs
+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')
+url="http://www.texmacs.org/"
+license=('GPL')
+depends=('perl' 'guile1.8' 'texlive-core' 'python2' 'libxext' 'freetype2' 'qt5-base')
+# do not remove texlive-core dependency, as it is needed!
+optdepends=('transfig: convert images using fig2ps'
+            'gawk: conversion of some files'
+	    'ghostscript: rendering ps files'
+            'imagemagick: convert images'
+            'aspell: spell checking')
+makedepends=('ghostscript' 'cmake')
+source=(http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${pkgver}-src.tar.gz)
+options=('!emptydirs')
+sha256sums=('8f2a73e2948d2bfdcd46b3ae9e7421707c4f897bd7d1447e8df8ff4886037789')
+
+prepare() {
+  cd TeXmacs-${pkgver}-src
+
+  find -name '*.py' | xargs sed -i 's/env python/env python2/'
+  sed -i 's/"python"/"python2"/' plugins/python/progs/init-python.scm
+}
+
+build() {
+  cd TeXmacs-${pkgver}-src
+  
+  mkdir -p build
+  cd build
+
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DGUILECONFIG_EXECUTABLE=/usr/bin/guile-config1.8
+  make
+}
+
+package() {
+  cd TeXmacs-${pkgver}-src/build
+  make DESTDIR=${pkgdir} install
+
+ # fix fig2ps script
+ sed -i 's|${prefix}|/usr|' "${pkgdir}/usr/bin/fig2ps"
+ # fix launch script
+ sed -e 's|\@CONFIG_LIB_PATH\@|LD_LIBRARY_PATH|g' -i "$pkgdir"/usr/bin/texmacs
+}



More information about the arch-commits mailing list