summaryrefslogtreecommitdiff
path: root/extra/texmacs
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-04-03 11:30:08 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-04-03 11:30:08 +0200
commit9f0a0bedb05193e9a3b4d6c62216667b9e6b1802 (patch)
treec19c7439fd17e13353c7b2b781ab8c318e5231ab /extra/texmacs
parent67d0fe5c268063f831b1e727979e12211f00bbcd (diff)
parent8cb5196780766f47b595410eed8ddbee2e8add08 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/fatrat/PKGBUILD community-staging/pion-net/PKGBUILD extra/xorg-server/PKGBUILD libre/abiword-libre/PKGBUILD staging/libreoffice/PKGBUILD testing/bluez/PKGBUILD testing/cairo/PKGBUILD testing/kmod/PKGBUILD testing/kmod/depmod-search.conf testing/networkmanager/PKGBUILD testing/pcmciautils/PKGBUILD testing/udev/PKGBUILD testing/udev/initcpio-install-udev
Diffstat (limited to 'extra/texmacs')
-rw-r--r--extra/texmacs/PKGBUILD11
-rw-r--r--extra/texmacs/texmacs.install14
2 files changed, 20 insertions, 5 deletions
diff --git a/extra/texmacs/PKGBUILD b/extra/texmacs/PKGBUILD
index cbd773d3f..66514af60 100644
--- a/extra/texmacs/PKGBUILD
+++ b/extra/texmacs/PKGBUILD
@@ -1,20 +1,21 @@
-# $Id: PKGBUILD 141258 2011-10-27 15:06:09Z ronald $
+# $Id: PKGBUILD 154990 2012-04-01 08:33:19Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
pkgname=texmacs
-pkgver=1.0.7.14
+pkgver=1.0.7.15
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' 'mips64el')
url="http://www.texmacs.org/"
license=('GPL')
-depends=('perl' 'guile' 'texlive-core' 'python2' 'libxext' 'freetype2')
+depends=('perl' 'guile' 'texlive-core' 'python2' 'libxext' 'freetype2' 'shared-mime-info' 'desktop-file-utils')
# do not remove texlive-core dependency, as it is needed!
-optdepends=('transfig: convert images using fig2ps')
+optdepends=('transfig: convert images using fig2ps' 'awk: 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)
-sha1sums=('5bbe0458d2ab73fa8cea8e12fee788b17b6f279a')
+install=texmacs.install
+sha1sums=('d75d55fcf0c06bf7fd5d9afd1031b9cf8413cbd3')
build() {
cd ${srcdir}/TeXmacs-${pkgver}-src
diff --git a/extra/texmacs/texmacs.install b/extra/texmacs/texmacs.install
new file mode 100644
index 000000000..7486663d6
--- /dev/null
+++ b/extra/texmacs/texmacs.install
@@ -0,0 +1,14 @@
+post_install() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove () {
+ post_install
+}
+
+