[arch-commits] Commit in wxmaxima/trunk (PKGBUILD wxmaxima.install)

Ronald van Haren ronald at archlinux.org
Sun Apr 1 04:52:22 EDT 2012


    Date: Sunday, April 1, 2012 @ 04:52:22
  Author: ronald
Revision: 154991

upgpkg: wxmaxima 12.01.0-1

update to 12.01.0; add install file

Added:
  wxmaxima/trunk/wxmaxima.install
Modified:
  wxmaxima/trunk/PKGBUILD

------------------+
 PKGBUILD         |    9 +++++----
 wxmaxima.install |   14 ++++++++++++++
 2 files changed, 19 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-01 08:33:19 UTC (rev 154990)
+++ PKGBUILD	2012-04-01 08:52:22 UTC (rev 154991)
@@ -4,15 +4,16 @@
 # Contributor: Vinay S Shastry <vinayshastry at 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}"

Added: wxmaxima.install
===================================================================
--- wxmaxima.install	                        (rev 0)
+++ wxmaxima.install	2012-04-01 08:52:22 UTC (rev 154991)
@@ -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