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

Ronald van Haren ronald at archlinux.org
Fri Apr 24 07:51:51 EDT 2009


    Date: Friday, April 24, 2009 @ 07:51:50
  Author: ronald
Revision: 36536

upgpkg: gnuplot 4.2.5-1

Modified:
  gnuplot/trunk/PKGBUILD
  gnuplot/trunk/gnuplot.install

-----------------+
 PKGBUILD        |    3 +--
 gnuplot.install |   13 ++++++-------
 2 files changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-24 11:51:27 UTC (rev 36535)
+++ PKGBUILD	2009-04-24 11:51:50 UTC (rev 36536)
@@ -4,7 +4,7 @@
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 
 pkgname=gnuplot 
-pkgver=4.2.4 
+pkgver=4.2.5 
 pkgrel=1 
 pkgdesc="Plotting package which outputs to X11, PostScript, PNG, GIF, and others" 
 arch=('i686' 'x86_64') 
@@ -14,7 +14,6 @@
 makedepends=('texinfo' 'emacs') 
 install=gnuplot.install 
 source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz") 
-md5sums=('3cde3b9232a2d81715bbaf75e1c87ecc')
 
 build() {
   cd $srcdir/$pkgname-$pkgver

Modified: gnuplot.install
===================================================================
--- gnuplot.install	2009-04-24 11:51:27 UTC (rev 36535)
+++ gnuplot.install	2009-04-24 11:51:50 UTC (rev 36536)
@@ -14,23 +14,22 @@
 for f in ${info_files[@]}; do
     install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
   done
-
-
 }
 
 post_upgrade() {
   post_install $1
 }
 
+pre_remove() {
+ for f in ${info_files[@]}; do
+    install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+  done
+}
+
 post_remove() {
   if [ -f /usr/bin/mktexlsr ]; then
     echo "Updating TeX tree..."
     mktexlsr
   fi
-
- for f in ${info_files[@]}; do
-    install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
-  done
-
 }
 



More information about the arch-commits mailing list