summaryrefslogtreecommitdiff
path: root/extra/gnuplot/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gnuplot/PKGBUILD')
-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 \