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

Antonio Rojas arojas at archlinux.org
Fri Nov 17 09:33:05 UTC 2017


    Date: Friday, November 17, 2017 @ 09:33:04
  Author: arojas
Revision: 310077

Update to 5.2.2

Modified:
  gnuplot/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-17 08:07:08 UTC (rev 310076)
+++ PKGBUILD	2017-11-17 09:33:04 UTC (rev 310077)
@@ -4,7 +4,7 @@
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 
 pkgname=gnuplot
-pkgver=5.2.0
+pkgver=5.2.2
 pkgrel=1
 pkgdesc="Plotting package which outputs to X11, PostScript, PNG, GIF, and others" 
 arch=('x86_64')
@@ -12,13 +12,13 @@
 license=('custom') 
 depends=('readline' 'gd' 'wxgtk2' 'cairo' 'libjpeg' 'lua' 'qt5-svg' 'gnutls') 
 makedepends=('texinfo' 'texlive-core' 'emacs' 'texlive-latexextra' 'qt5-tools')
-source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
+source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
         "lua53_compat.patch")
-sha1sums=('360fbd0e0ac84cc0e9ece374f463fca244980c3c'
+sha1sums=('fc39158851f39e48136d2bdd3f753bf46a99965c'
           '9005fa9e4da91ceedb8ccd1d761866e7b064f8b1')
 
 prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${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
@@ -31,7 +31,7 @@
 }
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver}
 
   MAKEINFO=/usr/bin/makeinfo  WX_CONFIG=/usr/bin/wx-config ./configure --prefix=/usr \
               --libexecdir=/usr/bin \
@@ -38,12 +38,13 @@
               --with-gihdir=/usr/share/gnuplot \
               --with-readline=gnu \
               --with-bitmap-terminals \
-              --with-wx-single-threaded
+              --with-wx-single-threaded \
+              --with-texdir=/usr/share/texmf/tex/latex/gnuplot
   make pkglibexecdir=/usr/bin
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver}
   make pkglibexecdir=/usr/bin DESTDIR="${pkgdir}" install
 
   install -Dm644 Copyright "${pkgdir}/usr/share/licenses/$pkgname/Copyright"



More information about the arch-commits mailing list