git » gnuplot.git » commit 70123b5

Hooks

author Antonio Rojas
2016-05-14 18:25:53 UTC
committer Antonio Rojas
2016-05-14 18:25:53 UTC
parent 6b3da6f72cf9544708f03c9710e1f9626b83d9b3

Hooks

PKGBUILD +1 -1
gnuplot.install +0 -13

diff --git a/PKGBUILD b/PKGBUILD
index b2aec7e..b64bf7c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,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" 
diff --git a/gnuplot.install b/gnuplot.install
index 44c60bf..fc676ba 100644
--- a/gnuplot.install
+++ b/gnuplot.install
@@ -1,27 +1,14 @@
-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() {
   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..."