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

Antonio Rojas arojas at archlinux.org
Sat May 14 18:25:54 UTC 2016


    Date: Saturday, May 14, 2016 @ 20:25:53
  Author: arojas
Revision: 267994

Hooks

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

-----------------+
 PKGBUILD        |    2 +-
 gnuplot.install |   13 -------------
 2 files changed, 1 insertion(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-14 18:19:44 UTC (rev 267993)
+++ PKGBUILD	2016-05-14 18:25:53 UTC (rev 267994)
@@ -5,7 +5,7 @@
 
 pkgname=gnuplot
 pkgver=5.0.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Plotting package which outputs to X11, PostScript, PNG, GIF, and others" 
 arch=('i686' 'x86_64') 
 url="http://www.gnuplot.info" 

Modified: gnuplot.install
===================================================================
--- gnuplot.install	2016-05-14 18:19:44 UTC (rev 267993)
+++ gnuplot.install	2016-05-14 18:25:53 UTC (rev 267994)
@@ -1,15 +1,8 @@
-info_dir=/usr/share/info
-info_files=(gnuplot.info)
-
 post_install() {
   if [ -f /usr/bin/mktexlsr ]; then
     echo "Updating TeX tree..."
     mktexlsr
   fi
-
-for f in ${info_files[@]}; do
-    install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
-  done
 }
 
 post_upgrade() {
@@ -16,12 +9,6 @@
   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..."



More information about the arch-commits mailing list