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

Ronald van Haren ronald at archlinux.org
Mon Apr 13 11:58:09 UTC 2015


    Date: Monday, April 13, 2015 @ 13:58:09
  Author: ronald
Revision: 236357

upgpkg: gnuplot 5.0.0-1

update to 5.0.0

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

-----------------+
 PKGBUILD        |   23 +++++++++++------------
 gnuplot.install |    4 ----
 2 files changed, 11 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-13 11:55:33 UTC (rev 236356)
+++ PKGBUILD	2015-04-13 11:58:09 UTC (rev 236357)
@@ -4,21 +4,21 @@
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 
 pkgname=gnuplot
-pkgver=4.6.6
+pkgver=5.0.0
 pkgrel=1
 pkgdesc="Plotting package which outputs to X11, PostScript, PNG, GIF, and others" 
 arch=('i686' 'x86_64') 
 url="http://www.gnuplot.info" 
 license=('custom') 
-depends=('readline' 'gd' 'wxgtk2.8' 'cairo' 'libjpeg' 'lua' 'qt4' 'gnutls') 
-makedepends=('texinfo' 'emacs' 'texlive-core' 'texlive-latexextra')
+depends=('readline' 'gd' 'wxgtk2.8' 'cairo' 'libjpeg' 'lua' 'qt5-svg' 'qt5-tools' 'gnutls') 
+makedepends=('texinfo' 'texlive-core' 'emacs' 'texlive-latexextra')
 options=('!makeflags')
-install=gnuplot.install 
+install=gnuplot.install
 source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
-sha1sums=('012bd22b7be32da186b6bb015c0c6d876926c90b')
+sha1sums=('ca5163e3cb466b4aeb878f1173b0fe624367f08a')
 
 prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "${srcdir}/${pkgname}-${pkgver}"
 
   # fix default source location; use the GDFONTPATH variable to modify at runtime
   sed -i 's|/usr/X11R6/lib/X11/fonts/truetype|/usr/share/fonts/TTF|' src/variable.c
@@ -29,7 +29,7 @@
 }
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "${srcdir}/${pkgname}-${pkgver}"
 
    WX_CONFIG=/usr/bin/wx-config-2.8 ./configure --prefix=/usr \
               --libexecdir=/usr/bin \
@@ -39,11 +39,10 @@
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make pkglibexecdir=/usr/bin DESTDIR="$pkgdir" install install-info
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make pkglibexecdir=/usr/bin DESTDIR="${pkgdir}" install install-info
 
-  install -Dm644 lisp/dotemacs "$pkgdir/usr/share/emacs/site-lisp/dotemacs"
-  install -Dm644 Copyright "$pkgdir/usr/share/licenses/$pkgname/Copyright"
+  install -Dm644 Copyright "${pkgdir}/usr/share/licenses/$pkgname/Copyright"
 
-  rm -f "$pkgdir/usr/share/texmf-dist/ls-R"
+  rm -f "${pkgdir}/usr/share/texmf-dist/ls-R"
 }

Modified: gnuplot.install
===================================================================
--- gnuplot.install	2015-04-13 11:55:33 UTC (rev 236356)
+++ gnuplot.install	2015-04-13 11:58:09 UTC (rev 236357)
@@ -2,10 +2,6 @@
 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



More information about the arch-commits mailing list