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

Ronald van Haren ronald at archlinux.org
Thu Sep 25 19:41:34 UTC 2008


    Date: Thursday, September 25, 2008 @ 15:41:33
  Author: ronald
Revision: 13036

upgpkg: maxima 5.16.3-2

Modified:
  maxima/trunk/PKGBUILD
  maxima/trunk/maxima.install

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-09-25 19:41:29 UTC (rev 13035)
+++ PKGBUILD	2008-09-25 19:41:33 UTC (rev 13036)
@@ -5,7 +5,7 @@
 
 pkgname=maxima
 pkgver=5.16.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Maxima - a sophisticated computer algebra system"
 arch=("i686" "x86_64")
 license=('GPL')
@@ -23,12 +23,13 @@
 
 build() {
   cd $srcdir/$pkgname-$pkgver
-  ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
+  ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \
+	--libexecdir=/usr/lib
   make || return 1
-  make DESTDIR=$startdir/pkg install
+  make DESTDIR=$pkgdir install
   
   # install some freedesktop.org compatibility
-  install -D -m644 $srcdir/$pkgname.desktop \
+  install -Dm644 $srcdir/$pkgname.desktop \
   	$pkgdir/usr/share/applications/$pkgname.desktop
   
   # make sure, we have a nice icon for the desktop file at the right place ;)

Modified: maxima.install
===================================================================
--- maxima.install	2008-09-25 19:41:29 UTC (rev 13035)
+++ maxima.install	2008-09-25 19:41:33 UTC (rev 13036)
@@ -9,3 +9,7 @@
 post_upgrade() {
   post_install $1
 }
+
+post_remove() {
+  post_install $1
+}




More information about the arch-commits mailing list