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

Ronald van Haren ronald at archlinux.org
Wed Sep 15 19:15:42 UTC 2010


    Date: Wednesday, September 15, 2010 @ 15:15:41
  Author: ronald
Revision: 90769

upgpkg: wxmaxima 0.8.6-1
update to latest version

Modified:
  wxmaxima/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-09-15 19:14:37 UTC (rev 90768)
+++ PKGBUILD	2010-09-15 19:15:41 UTC (rev 90769)
@@ -4,28 +4,33 @@
 # Contributor: Vinay S Shastry <vinayshastry at gmail.com>
 
 pkgname=wxmaxima
-pkgver=0.8.5
+pkgver=0.8.6
 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>=5.19.2' 'libxml2>=2.7.6' 'wxgtk>=2.8.10.1')
+depends=('maxima' 'libxml2' 'wxgtk')
 source=(http://downloads.sourceforge.net/$pkgname/wxMaxima-$pkgver.tar.gz)
-md5sums=('6ee883b7c6bd761dc987db04e5530fea')
+sha1sums=('124357c83672564ce7ee1bc20ff82c262adae52f')
 
 build() {
   cd "${srcdir}/wxMaxima-${pkgver}"
-  ./configure --prefix=/usr || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+  ./configure --prefix=/usr
+  make
+}
 
+package() {
+  cd "${srcdir}/wxMaxima-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install 
+
   # Fix category in .desktop file
   sed -i -e 's/Utility;X-Red-Hat-Base;X-Red-Hat-Base-Only;/Science;Math;/' wxmaxima.desktop
-  
+
   # Install desktop file and icon
   install -m755 -d "${pkgdir}/usr/share/applications"
   install -m755 -d "${pkgdir}/usr/share/pixmaps"
-  install -m644 wxmaxima.desktop "${pkgdir}/usr/share/applications/" || return 1
-  install -m644 data/wxmaxima.png "${pkgdir}/usr/share/pixmaps/" || return 1
+  install -m644 wxmaxima.desktop "${pkgdir}/usr/share/applications/" 
+  install -m644 data/wxmaxima.png "${pkgdir}/usr/share/pixmaps/" 
 }




More information about the arch-commits mailing list