Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:slowphil:texmacs-devel
texmacs
PKGBUILD
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PKGBUILD of Package texmacs
# copied from https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/texmacs # and adapted for obs by Philippe Joyez <texmacs.5.pjoyez@spamgourmet.com> # Maintainer: Ronald van Haren <ronald.archlinux.org> # Contributor: Damir Perisa <damir.perisa@bluewin.ch> # Contributor: Christopher Reimer <c.reimer1993@gmail.com> pkgname=texmacs pkgver=#VERSION# pkgrel=0 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=('GPL3') depends=('guile1.8' 'freetype2' 'qt5-base' 'qt5-svg') optdepends=('transfig: convert images using fig2ps' 'ghostscript: rendering ps files' 'imagemagick: convert images' 'aspell: spell checking') #makedepends=('ghostscript' 'cmake' 'git') makedepends=('git') source=("texmacs-${pkgver}.tar.gz" "my_current.patch") options=('!emptydirs') sha1sums=('SKIP' 'SKIP') prepare() { cd "${srcdir}/texmacs-${pkgver}" #patch -p1 < "../equation-editor-plugin.patch" git --work-tree=. apply ../my_current.patch } build() { cd "${srcdir}/texmacs-${pkgver}" # mkdir -p build # cd build # cmake .. \ # -DCMAKE_INSTALL_PREFIX=/usr \ # -DGUILECONFIG_EXECUTABLE=/usr/bin/guile-config1.8 autoreconf ./configure --prefix=/usr --with-guile=/usr/bin/guile-config1.8 make -j4 } package() { # cd "${srcdir}/texmacs-${pkgver}/build" cd "${srcdir}/texmacs-${pkgver}" 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 }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor