Date: Wednesday, June 23, 2021 @ 12:28:06 Author: arojas Revision: 418647
archrelease: copy trunk to extra-x86_64 Added: texmacs/repos/extra-x86_64/PKGBUILD (from rev 418646, texmacs/trunk/PKGBUILD) Deleted: texmacs/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-06-23 12:27:50 UTC (rev 418646) +++ PKGBUILD 2021-06-23 12:28:06 UTC (rev 418647) @@ -1,43 +0,0 @@ -# Maintainer: Ronald van Haren <ronald.archlinux.org> -# Contributor: Damir Perisa <damir.per...@bluewin.ch> # Contributor: Christopher Reimer <c.reimer1...@gmail.com> - -pkgname=texmacs -pkgver=1.99.21 -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' 'python' '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=('f511375758f71a87271bc1260025f4965a45609074a91e6e134241268240b57e') - -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 418646, texmacs/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-06-23 12:28:06 UTC (rev 418647) @@ -0,0 +1,43 @@ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: Damir Perisa <damir.per...@bluewin.ch> # Contributor: Christopher Reimer <c.reimer1...@gmail.com> + +pkgname=texmacs +pkgver=2.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=('x86_64') +url="http://www.texmacs.org/" +license=('GPL') +depends=('perl' 'guile1.8' 'texlive-core' 'python' '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=('8844618d8d6d597faecb1c4dbd25a199955937a6bb13ea253c3ecccc579886be') + +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 +}