[arch-commits] Commit in texmacs/trunk (PKGBUILD)
Ronald van Haren
ronald at archlinux.org
Sat Nov 17 14:26:30 UTC 2012
Date: Saturday, November 17, 2012 @ 09:26:30
Author: ronald
Revision: 171428
upgpkg: texmacs 1.0.7.16-1
update to 1.0.7.16; enable qt interface as it is the default by upstream
Modified:
texmacs/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++++++++++++-------
1 file changed, 17 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-11-17 14:23:19 UTC (rev 171427)
+++ PKGBUILD 2012-11-17 14:26:30 UTC (rev 171428)
@@ -1,32 +1,42 @@
# $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.0.7.15
+pkgver=1.0.7.16
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=('i686' 'x86_64')
url="http://www.texmacs.org/"
license=('GPL')
-depends=('perl' 'guile' 'texlive-core' 'python2' 'libxext' 'freetype2' 'shared-mime-info' 'desktop-file-utils')
+depends=('perl' 'guile' 'texlive-core' 'python2' 'libxext' 'freetype2' 'shared-mime-info'
+ 'desktop-file-utils' 'qt')
# do not remove texlive-core dependency, as it is needed!
-optdepends=('transfig: convert images using fig2ps' 'awk: conversion of some files')
+optdepends=('transfig: convert images using fig2ps'
+ 'gawk: conversion of some files')
#source=(ftp://ftp.texmacs.org/pub/TeXmacs/targz/TeXmacs-${pkgver}-src.tar.gz)
source=(http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${pkgver}-src.tar.gz)
install=texmacs.install
-sha1sums=('d75d55fcf0c06bf7fd5d9afd1031b9cf8413cbd3')
+options=('!emptydirs')
+sha1sums=('bd73a8ff1c5361161cc65c57dfe8e706a1859231')
build() {
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}
+ plugins/{mathematica/bin/realpath.py,python/bin/tm_python,sage/bin/tm_sage} \
+ TeXmacs/misc/inkscape_plugin/texmacs_reedit.py
sed -i 's/"python"/"python2"/' plugins/python/progs/init-python.scm
sed -i '/^LDPATH/d' src/makefile.in
+
+ # 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
+
./configure --prefix=/usr \
--mandir=/usr/share/man \
- --libexecdir=/usr/lib \
- --disable-qt
+ --libexecdir=/usr/lib
make
}
More information about the arch-commits
mailing list