diff options
author | Francesco Zardi | 2023-08-28 15:20:09 +0200 |
---|---|---|
committer | Francesco Zardi | 2023-08-28 15:20:09 +0200 |
commit | 8ca4b462c9db85fef7b78d79bc0a3eb5313052d8 (patch) | |
tree | c2db208e5df5bde2fd38ced2a4054a0f02d16b17 | |
parent | 89d8d016185eac2f76e5c5e320a58cc45594b04b (diff) | |
download | aur-8ca4b462c9db85fef7b78d79bc0a3eb5313052d8.tar.gz |
Remove gnuplot.install script
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | gnuplot.install | 34 |
3 files changed, 2 insertions, 38 deletions
@@ -1,9 +1,8 @@ pkgbase = gnuplot4 pkgdesc = Plotting package which outputs to X11, PostScript, PNG, GIF, and others pkgver = 4.6.7 - pkgrel = 4 + pkgrel = 5 url = http://www.gnuplot.info - install = gnuplot.install arch = i686 arch = x86_64 license = custom @@ -9,7 +9,7 @@ _version_patch=7 pkgname=$_basename$_version_major pkgver=$_version_major.$_version_minor.$_version_patch -pkgrel=4 +pkgrel=5 pkgdesc="Plotting package which outputs to X11, PostScript, PNG, GIF, and others" arch=('i686' 'x86_64') url="http://www.gnuplot.info" @@ -17,7 +17,6 @@ license=('custom') depends=('readline' 'gd' 'wxgtk2.8' 'cairo' 'libjpeg' 'openssl-1.1' 'qt4' 'lua') provides=('gnuplot') makedepends=('texlive-latexextra') -install=gnuplot.install source=("http://downloads.sourceforge.net/sourceforge/$_basename/$_basename-$pkgver.tar.gz" 'use-wx-config-2.8.patch' 'update-lua-5.3.patch') diff --git a/gnuplot.install b/gnuplot.install deleted file mode 100644 index f80cc7f9d7f9..000000000000 --- a/gnuplot.install +++ /dev/null @@ -1,34 +0,0 @@ -info_dir=/usr/share/info -info_files=(gnuplot.info) - -post_install() { -cat << EOF -==> To add the gnuplot mode in Emacs, add the content of /usr/share/emacs/site-lisp/dotemacs to your ~/.emacs file. -EOF - - 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..." - mktexlsr - fi -}
\ No newline at end of file |