summaryrefslogtreecommitdiff
path: root/extra/wxmaxima
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-03 00:01:35 +0000
committerroot <root@rshg054.dnsready.net>2012-04-03 00:01:35 +0000
commitc7cb603f86b4d4fb6567e3faa15b916a306f7004 (patch)
treebfdbca0002d6aeecc13f29a1c14d3991e6e93d4c /extra/wxmaxima
parent321f44e3a5da426309c4b6664af035c97f907565 (diff)
Tue Apr 3 00:01:35 UTC 2012
Diffstat (limited to 'extra/wxmaxima')
-rw-r--r--extra/wxmaxima/PKGBUILD9
-rw-r--r--extra/wxmaxima/wxmaxima.install14
2 files changed, 19 insertions, 4 deletions
diff --git a/extra/wxmaxima/PKGBUILD b/extra/wxmaxima/PKGBUILD
index d106536da..906625b4d 100644
--- a/extra/wxmaxima/PKGBUILD
+++ b/extra/wxmaxima/PKGBUILD
@@ -4,15 +4,16 @@
# Contributor: Vinay S Shastry <vinayshastry@gmail.com>
pkgname=wxmaxima
-pkgver=11.08.0
-pkgrel=2
+pkgver=12.01.0
+pkgrel=1
pkgdesc="A wxWidgets GUI for the computer algebra system Maxima"
arch=('i686' 'x86_64')
url="http://wxmaxima.sourceforge.net/"
license=('GPL2')
-depends=('maxima' 'libxml2' 'wxgtk')
+depends=('maxima' 'libxml2' 'wxgtk' 'shared-mime-info' 'desktop-file-utils')
source=(http://downloads.sourceforge.net/$pkgname/wxMaxima-$pkgver.tar.gz)
-sha1sums=('852a772e4b982bc355120cc95ee6f3d600ce011b')
+install=wxmaxima.install
+sha1sums=('d80002ddea3260b0f3315072f23b4bb3cce3a10a')
build() {
cd "${srcdir}/wxMaxima-${pkgver}"
diff --git a/extra/wxmaxima/wxmaxima.install b/extra/wxmaxima/wxmaxima.install
new file mode 100644
index 000000000..7486663d6
--- /dev/null
+++ b/extra/wxmaxima/wxmaxima.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
+}
+
+