[arch-commits] Commit in texmacs/repos (6 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sun Dec 6 21:44:45 UTC 2015
Date: Sunday, December 6, 2015 @ 22:44:44
Author: bpiotrowski
Revision: 253031
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
texmacs/repos/staging-i686/
texmacs/repos/staging-i686/PKGBUILD
(from rev 253030, texmacs/trunk/PKGBUILD)
texmacs/repos/staging-i686/texmacs.install
(from rev 253030, texmacs/trunk/texmacs.install)
texmacs/repos/staging-x86_64/
texmacs/repos/staging-x86_64/PKGBUILD
(from rev 253030, texmacs/trunk/PKGBUILD)
texmacs/repos/staging-x86_64/texmacs.install
(from rev 253030, texmacs/trunk/texmacs.install)
--------------------------------+
staging-i686/PKGBUILD | 63 +++++++++++++++++++++++++++++++++++++++
staging-i686/texmacs.install | 14 ++++++++
staging-x86_64/PKGBUILD | 63 +++++++++++++++++++++++++++++++++++++++
staging-x86_64/texmacs.install | 14 ++++++++
4 files changed, 154 insertions(+)
Copied: texmacs/repos/staging-i686/PKGBUILD (from rev 253030, texmacs/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-12-06 21:44:44 UTC (rev 253031)
@@ -0,0 +1,63 @@
+# $Id$
+# 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.2
+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')
+url="http://www.texmacs.org/"
+license=('GPL')
+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'
+ 'gawk: conversion of some files'
+ 'ghostscript: rendering ps files'
+ 'imagemagick: convert images'
+ 'aspell: spell checking')
+makedepends=('ghostscript')
+source=(http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${pkgver}-src.tar.gz)
+install=texmacs.install
+options=('!emptydirs')
+sha1sums=('5298e9bd3f61cd8f2117fe1d96a7435f8a788cc8')
+
+prepare() {
+ cd "${srcdir}/TeXmacs-${pkgver}-src"
+ sed -i 's/env python/env python2/' \
+ plugins/{mathematica/bin/realpath.py,python/bin/tm_python,sage/bin/tm_sage} \
+ TeXmacs/misc/inkscape_extension/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
+ 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
+ export LDFLAGS="$LDFLAGS -lz"
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --libexecdir=/usr/lib
+ make
+}
+
+package() {
+ cd "${srcdir}/TeXmacs-${pkgver}-src"
+ make DESTDIR=${pkgdir} install
+
+ # fix fig2ps script
+ sed -i 's|${prefix}|/usr|' "${pkgdir}/usr/bin/fig2ps"
+}
Copied: texmacs/repos/staging-i686/texmacs.install (from rev 253030, texmacs/trunk/texmacs.install)
===================================================================
--- staging-i686/texmacs.install (rev 0)
+++ staging-i686/texmacs.install 2015-12-06 21:44:44 UTC (rev 253031)
@@ -0,0 +1,14 @@
+post_install() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove () {
+ post_install
+}
+
+
Copied: texmacs/repos/staging-x86_64/PKGBUILD (from rev 253030, texmacs/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-12-06 21:44:44 UTC (rev 253031)
@@ -0,0 +1,63 @@
+# $Id$
+# 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.2
+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')
+url="http://www.texmacs.org/"
+license=('GPL')
+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'
+ 'gawk: conversion of some files'
+ 'ghostscript: rendering ps files'
+ 'imagemagick: convert images'
+ 'aspell: spell checking')
+makedepends=('ghostscript')
+source=(http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${pkgver}-src.tar.gz)
+install=texmacs.install
+options=('!emptydirs')
+sha1sums=('5298e9bd3f61cd8f2117fe1d96a7435f8a788cc8')
+
+prepare() {
+ cd "${srcdir}/TeXmacs-${pkgver}-src"
+ sed -i 's/env python/env python2/' \
+ plugins/{mathematica/bin/realpath.py,python/bin/tm_python,sage/bin/tm_sage} \
+ TeXmacs/misc/inkscape_extension/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
+ 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
+ export LDFLAGS="$LDFLAGS -lz"
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --libexecdir=/usr/lib
+ make
+}
+
+package() {
+ cd "${srcdir}/TeXmacs-${pkgver}-src"
+ make DESTDIR=${pkgdir} install
+
+ # fix fig2ps script
+ sed -i 's|${prefix}|/usr|' "${pkgdir}/usr/bin/fig2ps"
+}
Copied: texmacs/repos/staging-x86_64/texmacs.install (from rev 253030, texmacs/trunk/texmacs.install)
===================================================================
--- staging-x86_64/texmacs.install (rev 0)
+++ staging-x86_64/texmacs.install 2015-12-06 21:44:44 UTC (rev 253031)
@@ -0,0 +1,14 @@
+post_install() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove () {
+ post_install
+}
+
+
More information about the arch-commits
mailing list