summaryrefslogtreecommitdiff
path: root/extra/gnuplot
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-30 23:15:09 +0000
committerroot <root@rshg054.dnsready.net>2012-01-30 23:15:09 +0000
commit902eddd7e029eda6fc1c668b31e696c6ca3edbc7 (patch)
tree7daed2a9811a9c58333dafddaa471222520022b0 /extra/gnuplot
parent39711f3264d3b9de2ff6392649274d6333932457 (diff)
Mon Jan 30 23:15:08 UTC 2012
Diffstat (limited to 'extra/gnuplot')
-rw-r--r--extra/gnuplot/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/extra/gnuplot/PKGBUILD b/extra/gnuplot/PKGBUILD
index 1207d38a3..5b2f3b3a0 100644
--- a/extra/gnuplot/PKGBUILD
+++ b/extra/gnuplot/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 122810 2011-05-06 10:03:29Z ronald $
+# $Id: PKGBUILD 147985 2012-01-29 11:40:13Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=gnuplot
-pkgver=4.4.3
+pkgver=4.4.4
pkgrel=1
pkgdesc="Plotting package which outputs to X11, PostScript, PNG, GIF, and others"
arch=('i686' 'x86_64')
@@ -14,14 +14,17 @@ depends=('readline' 'gd' 'wxgtk' 'cairo' 'libjpeg' 'lua')
makedepends=('texinfo' 'emacs' 'texlive-core' 'texlive-latexextra')
install=gnuplot.install
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
-sha1sums=('a4d315b9288739e3cbaa04d8ddda7861b4009bd4')
+sha1sums=('d4f143eade1f8d8b27be44cbda431d37a71c6a31')
build() {
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
- sed -i 's|/X11R6/lib/X11/fonts/Type1|/usr/share/fonts/Type1|' src/variable.c
+
+ sed -i -e 's|/usr/X11R6/lib/X11/fonts/Type1|/usr/share/fonts/Type1|' \
+ -e 's|$(X11ROOT)/X11R6/lib/X11/fonts/Type1|$(X11ROOT)/usr/share/fonts/Type1|' \
+ src/variable.c
./configure --prefix=/usr --mandir=/usr/share/man \
--infodir=/usr/share/info \